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
{{ message }}
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
Are you using 4.0.20? I'm looking at the code, and it should use the version specified in FacebookRequest, which is 2.2... there's no code there to specify 2.0.
@MaksBrainiac Unfortunately there isn't a way to specify a Graph version number in 4.0 for extending an access token. It will just fallback to the default as specified in the SDK. You're using an old version of the PHP SDK that defaulted back to Graph v2.0. You'll need to upgrade your version of the PHP SDK to the latest Graph version for now.
I just submitted a PR #387 which bumps the Graph version to v2.3, so once that gets merged & tagged you can just upgrade to the latest 4.0 SDK version to default to Graph v2.3.
public function extend($appId = null, $appSecret = null)
return static::requestAccessToken($params, $appId, $appSecret);
Makes "GET https://graph.facebook.com/v2.0/oauth/access_token....." request,
can not set API version to 2.2.
The text was updated successfully, but these errors were encountered: