前言
The access token of FB App
拿原本只有一小時時效的 token 去換長時間(60天)的 token
- request
1 | curl -i -X GET "https://graph.facebook.com/v5.0/oauth/access_token?grant_type=fb_exchange_token&client_id={app_id}&client_secret={app_secret}&fb_exchange_token={access_token}" |
- response
1 | {"access_token":"access_token","token_type":"bearer","expires_in":5184000} |