开发者

empty array returned with user_photos permission

开发者 https://www.devze.com 2023-03-31 06:55 出处:网络
I was using the user_photo_video_tags permission, but after it was announced that it would be deprecated, I switched the permission to user_photos.

I was using the user_photo_video_tags permission, but after it was announced that it would be deprecated, I switched the permission to user_photos.

Without user_photo_video_tags and with only user_photos, I get the following response when making an authenticated call to 'me/photos':

{
  "data": [
  ]
}

but with user_photo_video_tags I get the correct response with tagged photos and uploaded photos.

Isn't user_photos + user_vide开发者_JS百科os supposed to be equivalent to user_photo_video_tags? Why am I getting different results?

(there are a few similar questions out there, but I do not believe they are the same use case)


Not sure what you're seeing here. I can try it using the Graph API Explorer with user_photos, and I get the expected results: https://developers.facebook.com/tools/explorer?method=GET&path=me%2Fphotos

0

精彩评论

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