You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use App Access Token generated by GET for all API requests
we have been using 'app_id|app_secret' as app access token but
https://developers.facebook.com/blog/post/2017/07/18/graph-api-v2.10/
there was announcement 'On October 16, 2017 we will require
an access token to fetch Page videos, posts and comments for
all Graph API versions.' so I thought there might be
problem with current method.
https://developers.facebook.com/docs/facebook-login/access-tokens#apptoken
that was why I add this commit. After this change it should use
following GET request to generate an app access token, each time
we run #posts, #videos
GET /oauth/access_token
?client_id={app-id}
&client_secret={app-secret}
&grant_type=client_credentials
0 commit comments