I have a problem with my sencha app, it uses facebook sdk javascript to log in, of course in the browser it works perfectly because facebook authorizes the domain name. but when i turn my app into a native android app, facebook rejects the app saying the given url is not allowed.
I have tried authorizing it as a native android app getting the key hash from the keystore I used, and putting in the facebook app with no success maybe i am missing something i would greatly appreciate any help in pointing me in the right direction
I solved it using the facebook connect plugin for phonegap and phonegap created by dave johnson
its in git hub
https://github.com/davejohnson/phonegap-plugin-facebook-connect/
您需要使用FB JavaScript库,而不是连接...。最好的选择是查看ST2示例目录中的Jog With Friends,以了解如何处理集成
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.