Software Archive
Read-only legacy content
17061 Discussions

Implementing Facebook Plugin

Hakim_T_
Beginner
657 Views

Hi All,

Just trying to implement facebook connect to my app which is build for Android Crosswalk ( using version 10 presently), I am using XDK version 1816, I am following the tutorial : https://software.intel.com/en-us/html5/articles/integrating-facebook-functionality-into-hybrid-apps-using-the-intel-xdk

but i am stuck at the stage : Android Key Hash from the XDK Build Procedure I can't find info on how to generate this hash key, the info on the post is out dated so any help to solve this issue is welcomed

Thank you

Hakim

0 Kudos
3 Replies
Kancho_K_
Beginner
657 Views

Hi Hakim

As far as I know the Intel FB library is already deprecated and if you ask me I would recommend you to use this one: http://coenraets.org/blog/2014/04/facebook-phonegap-cordova-without-plugin/

 I am using it in my apps and it is working quite well. Keep in mind that to be able to use it, you would need to add the Cordova inappbrowser as a third-party plugin to your application. All that you need to do is very well described here, plus the library download link of course: https://github.com/ccoenraets/OpenFB

 Hope this would be of help to your development.

0 Kudos
Hakim_T_
Beginner
657 Views

Hi Kancho,

 

Thank you for your reply I will test it and get back to you with my thoughts, There is one more thing I would like to ask you about is the Android key Hash how do you build it for development and production environements

 

Thx again for your quick reply.

 

Hakim

0 Kudos
Amrita_C_Intel
Employee
657 Views

Hi Hakim,

You can refer--  https://github.com/Wizcorp/phonegap-facebook-plugin 

And download the Zip 

Import the project and test that sample is working. So this is the updated document for Facebook plugin integration.

And similarly you make your project work.

0 Kudos
Reply