开发者

Facebook photo permissions fail to give access to photos

开发者 https://www.devze.com 2023-03-01 15:16 出处:网络
I have created a facebook app that if users of it accept should give the app and its access token to their photo albums. The website access the info from is authorized in the app.

I have created a facebook app that if users of it accept should give the app and its access token to their photo albums. The website access the info from is authorized in the app.

(Yes the users im trying to get photos from have accepted and allowed the app)

However it doesn't work, it just returns nothing.

https://graph.facebook.com/10100188540131028/photos?access_token=(access_token_here)

{
   "data": [

   ]
}

The app requests permis开发者_C百科sions for basic info and user_photos.

Am i missing something here? The only photos i can access are on public "pages". (which i can do without the app)


This error is usally due to incorrect token, double check it.


Thanks a lot it Works

Set user_photos permission for the 'scope' parameter while accessing token.

login page

https://www.facebook.com/dialog/oauth?client_id='123'&scope=read_stream,user_photos
0

精彩评论

暂无评论...
验证码 换一张
取 消