Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How to get long live access token from facebook.

$
0
0

Hello Friends ,
Today i am working on facebook integration in both ios and android.i complete facebook authentication process and after it i want to get long live access token so i make a get request and with specific url and parameters as shown below:
string requestIrl=string.Format("https://graph.facebook.com/oauth/access_token?client_id={ 0}&client_secret={ 1}&grant_type=fb_exchange_token&fb_exchange_token={ 2}",clientId,secret_key,shortLiveToken);
//reference get from http://stackoverflow.com/questions/10467272/get-long-live-access-token-from-facebook

when i do it then i face a message "Bad request".can anyone help me.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>