I'm using phonegap/cordova on eclipse to build my app. I'm also trying to use the facebook sdk. I downloaded the android SDK and imported the facebook folder correctly. I'm receiving 300+ errors and I know it is because it is not linked. I right-clicked my main project -> Android -> but facebook is not being listed as an option.
How do I link Facebook SDK to my project?
Why don't you want to use facebook js sdk and include it in your web app. Then whether you build your app for ios or android it will still work.
https://developers.facebook.com/docs/javascript
Or
http://phonegap.com/blog/2013/04/18/pg-facebook-plugin/
Related
I am trying to add the facebook sdk to my android project in eclipse. I have tried a lot of toturial that I found in the interne but none hase worked for me.
doese someone now houe to add the sdk to android eclips projetcs?
I gess you are triyng to add facebook sdk to a legacy code so you can check
Android facebook SDK as JAR
else i recommend using android studio.
I am working on xamarin android application.When I try to install facebook android sdk in my application it takes too much time and at last it stops with : some required packages are not referenced by the project.
And if I download facebook-android-sdk from facebook developer account then how to add it to my application ?
Try adding it through the NuGet package manager:
Right click the packages folder in your project
Select Add Packages
Type Facebook SDK Xamarin Android in the search box
Double-click the package
This should install the SDK and all its dependencies. All you need to do now is resolve it's namespaces and you should be good to go. You can check the Package Console pad for any errors.
I am trying to integrate facebook SDK into my android project.
I've extracted the facebook sdk and imported into eclipse.
So in order to use the sdk I had set up a new android project with the setting
of minSDK->8 and build target of 4.4. The problem is that when I add the facebook sdk into my
android project's library the sdk is not added. If it was added, there should be a check mark instead of X.
I read through the facebook developers instruction but it doesn't work.I would be glad if you can help me out.
make sure that the SDK folder and your project folder are in same location
i am using cordova 3.0 and i would like to use a plugin (Facebook auth plugin). My problem is that i don't know how to link the Facebook auth plugin to the facebook SDK without using Eclipse.
I don't see any file to reference external .jar ...
I must to install eclipse to do that?
Thx!
I have an Android 2.2 project that I need to use the facebook api in it.
after adding the facebook sdk project and adding the the facebook project library to my android 2.2 app libraries, nothing happens and when I go to my app properties->android-> i found that the facebook libary project has a red X mark beside it.
is it a problem caused by different versions ?
thanks
Ok I got the answer from here
In eclipse, unable to reference an android library project in another android project
I had to put the facebook api library project in the same workspace of my app project