I am trying to learn Phonegap and make a small application using that for Andorid. My application needs to pull out nearby restaurants from the FourSquare API.
What are the various ways in which I can do this?
I could not understand the documentation of FourSqaure. It needs OAuth mechanism to be done. How can I do this in a PhoneGap application – lack of redirect URI.
It will be very helpful if someone can tell me which way to go and how to achieve this?
Have you tried using the ChildBrowser plugin? (https://github.com/phonegap/phonegap-plugins/tree/master/Android/ChildBrowser) I used it against Twitter and it seemed to work for authentication. But you do have the problem of having to store your secret OAuth key in an easily accessible format.