Software Archive
Read-only legacy content
17060 Discussions

Apache Cordova Facebook plugin integration

Karl_J_
Beginner
359 Views

Hello, I am quiet new to Intel XDK development. I am interested in bringing in facebook plugin. After a little bit of research, I found out that official Intel XDK plugin has been deprecated and they suggested to use this: https://github.com/Wizcorp/phonegap-facebook-plugin

But problem is, I am not quiet sure how to use that plugin. There are many installation guides there, but I don't know which one to choose. I just created HTML5 project first and then upgraded it to HTML5 + Cordova application.

After upgrade, I saw in "Projects" tab "Plugins". From there I chose Facebook plugin and I added my facebook application ID and application name.

Now my question is: What I have to do next to bring in facebook login form to my application? Could somebody provide me some code examples and where do I have to put them?

 

Thank in advance.

0 Kudos
3 Replies
PaulF_IntelCorp
Employee
359 Views

See the plugin documentation for that plug, at the address you reference. The README on that page refers to examples for Android and iOS. See this part of the repo to get started: https://github.com/Wizcorp/phonegap-facebook-plugin/tree/master/platforms/android/assets/www

0 Kudos
Karl_J_
Beginner
359 Views

Well I managed to integrate facebook with my app now. But, now I have another problem. At first time I managed to log in and alert my user data. But after that it starts to fail. It says: This app has no Android Key hashes configured.Configure your app key hashes at http:developers.facebook.com/apps/"APP ID

 

What am I supposed to do now?

0 Kudos
PaulF_IntelCorp
Employee
359 Views
0 Kudos
Reply