简体   繁体   中英

Getting user access token for currency

While integrating local currency payments to our app, we need to retrieve the users prefered currency, so that we can display the prices in our app.

The app is running on the php sdk.

However, it seems that in order to get the prefered currency, we need a users access token.

I am unable to figure out how we can retrieve this. Could someone point me in the right direction

Thank you

Using:

$facebook->getSignedRequest();

will return "oauth_token", for the given user. With that it should be easy to get data from the graph

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM