M
M
maryoleksiuk2014-08-09 11:54:15
JavaScript
maryoleksiuk, 2014-08-09 11:54:15

How to login to facebook app on android using cordova?

How to implement facebook login in app using cordova? I tried to do with the facebook connect plugin, it does not work. I wrote a login in javascript / html (index, html), it is obvious that it only works in the browser. Can you please tell me how to integrate my index file into cordova? Need an app to work on android
Thank you very much!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Push Pull, 2014-08-09
@deadbyelpy

here is a link to the source code for a cordova -based application - facebook authorization example
1. Register the application on facebook by writing down its ID
Change the ID in index.html to the one obtained above.
Copy the sources to your www directory and run, I think there will be no problems.
Because the application does not use the plugin will work the same in the browser and on any other device.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question