I have installed the facebook API in phonegap but i have hard time making it work see link .The index.html file in the exemple folder has a login button that once taped opens the native facebook application on my device requiring email and password. After having authenticated me, it takes me back succesfully to my app.
Whenever i tap on the "getsession" button for exemple it shows me an alert saying "undefined". I want to know how to get the access token that is given right after the authentication process within my app and everything related to the session so i can perform other tasks?
I made it happen! Below is the solution in case someone needs it (for the phonegap facebook plugin installation refer to my first post)
First of all create a Facebook app http://developers.facebook.com/apps
It should be a native application app since you are compiling it with phonegap
Fill in the App Domain and the website URL under WebSite
Create a key hash (this will help) and submit it to facebook (DO NOT CREATE YOUR KEY ON WINDOWS)
... integrate your facebook api calls to your sencha app ...
Export your application to a device or run it in a simulator
It's your turn to make it happen
A bit more information :
I saw at some point in the eclipse logcat this message "Facebook-authorize LoginFailed: Invalid Key". After a long time googling and trying different solutions the one i am proposing above worked for me. My problem was due to the fact i didn't know i should create a key hash first (to make it short, Facebook apparently needs it) and second i made the error of generating it on windows (64 bits) which was genarting a bad key hash.
Last edited by slmd; 1 Dec 2011 at 9:14 PM.
Reason: More infos
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."