I'm developing an app using cordova phonegap 2.5.0 and I want to implement both sharing in iOs and facebookConnect. I'm using Sharekit 2 + Sharekit Plugin for phonegap and i'm having no issues with the sharing, but some trouble with facebook connect. I can make the connect itself using the built in function:
facebookConnect( );
and it seems to work, but I need to retrieve the facebook Uid after the connect.
Any suggestion?
Maybe this can help somebody else...
Because I can't find any documentation about my question I managed to solve in this way:
Use the official facebook SDK and facebook connect plugin - Instruction here https://developers.facebook.com/ios/ and here https://github.com/phonegap/phonegap-facebook-plugin - for the facebook connect. It is full of example and pretty simple to implement.
Added sharekit to my project with granular install - Instrutions here https://github.com/ShareKit/ShareKit/wiki/Granular-install - avoiding to installa the facebook part.
Added ShareKit Plugin - Instructions here https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/ShareKitPlugin - and comment out from ShareKitPlugin.m all the refence to Facebook.
Now the share trough ShareKit is working and I'm going to manage the facebook share trough the official SDK.
Hope it could help...
#Teo_ne: After spending a lot of time, I found that Phonegap_Facebook_Plugin only work with IOS v6+, not support IOS v5.x due to the Social.framework.
Related
I'm building an app with Phonegap 3 (it's necessary to be version 3 because Barcode Scanner plugin).
I need to user also Facebook Connect plugin, but there is not already a version for Phonegap 3.
Do you know how can I solve this issue, once I need to offer Facebook Login and Facebook Activites Share for my app?
Thanks in advance!
The only option you have right now is to update the plugin yourself for version 3.0+ or wait for someone else to do it. Sorry it is not a great answer but it is the only answer at this time.
Please see my answer about using the Facebook plugin here: https://stackoverflow.com/a/19371560/368762
You can try to update the plugin yourself, or if you look on the "Network Graph" on the Github page for the plugin, you can see some forks that other people have been maintaining. One fork says it has been updated to work with 3.0 so I'd suggest that you try that.
I want to integrate shareKit 2.0 in my app. But I wanted only for the purpose of Twitter.
I Followed the installation steps on sharkit wiki but ended with the error youTube SDK not found etc...
I see lot of products in my app product folder(Fiker, youtube sdk, ect...)
As I only needed twitter,I deleted other folder except Twitter from services folder. Please help me with the sharkit twitter Integration.
I want to update sharekit As i am facing oAuth_verifier issue in twitter with the old sharekit version.
sharkit 2.0 source Code URL:
https://github.com/ShareKit/ShareKit
Installations Steps URL:
https://github.com/ShareKit/ShareKit/wiki
May be you don't need ShareKit? If you just going to set up twitter share you can use ios integrated framework, here it is good tutorial.
New sharekit is very different from the old one, and you should not touch the code (delete anything) - the strongest reason is easy updating using git.
If you wish to use Twitter sharer only, check granular install
I am not sure whether my question is appropriate or not.
I am integrating facebook for the first time and also for the for first my app is multi-platform.
I am integrating facebook in my app for iphone and android.My question are below:
1)If i am doing it with plugin i have to do it separately for both iPhone and Android. Is there any way to integrate Facebook for both in a single effort for eg by using Javascript SDK
2)If yes what it is? and if possible any sample.
Thanks in advance
You should use phonegap-plugin-facebook-connect. It works on both iOS and Android and integrates great with iOS6 bulid in Facebook functionality.
The plugin provides a patched version of the Facebook JS API.
I am developing iphone app which shares photos on social networks.For photo sharing I am using "Sharekit".I have created Facebook App and using its api key and secrete.(used correct api key and secret.).
When I try to share image with this app(even simple text),the following error comes.(even the facebook login popup doesn't appear.)
"Sorry,the application you are using misconfigured for Facebook integration.Please download the newest version of the application"
I would have uploaded snap shot but as a new user Stack overflow is not allowing to upload image..Any help will be appreciated.
Thanks.
apparently this problem was faced by me too.
Since i was using their old API methods..
it is really tough to find the cause now..
Although i have not used ShareKit..i believe it is also using the older methods.
I solved the problem by using their official tutorial on Facebook iOS integration
I noticed that the version of sharekit i am using 0.2.1 is pretty outdated one. The project was moved to github and the latest version 2.0 can be found here. The home site is outdated with version 0.2.1 so follow the github link for latest update.
You might want to take a look at Socialize: http://www.GetSocialize.com, which uses the newer methods. Full feature list at http://go.GetSocialize.com/features
Good luck!
DROdio
Okay, I am using Cocos2d for developing an Iphone game, and I wish to implement Facebook Connect.
I found a tutorial about integrating Facebook Connect in the Cocos2d forums (http://www.cocos2d-iphone.org/forum/topic/3392), but the link it provides for downloading the Facebook SDK is... broken. And I have no idea where to actually download it! Every link I find in Google seems to have been removed from Facebook's documentation. And that tutorial is a bit old... is there any updated content about such? Can someone guide me as to where should I get started? (downloading the SDK)
Facebook seems to be notoriously bad for dropping support or unlinking features. Try:
http://developers.facebook.com/docs/guides/mobile/#ios