Need To Authonticate User Via Facebook & Twitter(P

2019-08-12 05:33发布

问题:

new to phonegap programing development.having one issue that i need to authonticate user via facebook/twitter & if authontication goes true on basis of that need to upload some image to server..i have stuck on this issue..i could found this one facebook sdk for phonegap android.i have downloaded this one plugin https://github.com/davejohnson/phonegap-plugin-facebook-connect but when implemented it just redirects to facebook page to browser,it dosen't opening popup of facebook login page as we can see in native android application...so any guide for that? Thanks in advance Aamirkhan i.

回答1:

We've recently developed an iOS phonegap app. We had to pull a feed from Twitter (to our Grails server component) and elected to use Twitter4J as it simplified the process. Here's a code example on the Twitter4J site focussed particularly on authentication. Hope it helps. Good luck!



回答2:

When you get redirected to the web page instead of the popup it means that the facebook app is not installed on your phone. This is unfortunately necessary now with the new FB jar.