开发者

Facebook: All interests returning empty array (music, movies, etc)

开发者 https://www.devze.com 2023-03-13 06:46 出处:网络
I\'m trying to get the current user\'s favorite artists. When I use the \'/me/music\' call (Using the \'music\' link a开发者_如何学Pythonbout a third of the way down this page: http://developers.face

I'm trying to get the current user's favorite artists.

When I use the '/me/music' call (Using the 'music' link a开发者_如何学Pythonbout a third of the way down this page: http://developers.facebook.com/docs/reference/api/user/) link I get a blank array, even though I have several favorite artsits.

If I authenticate myself using the PHP Facebook API I also get a blank array, even though I grant the 'user_likes' permission.

The only way I can pull this data is by changing my 'Interests' privacy setting to 'Everyone', which obviously makes having a specific permission for this data pointless.

I have checked the applications granted access on my profile and the app definitely has access to my likes.

A similar question was asked here: Friends_interests/likes/etc return as blank from Facebook Graph API.

Let me know if you need any more information.

Thanks, Matt.


you need the "user_interests" permission to read this information.

see http://developers.facebook.com/docs/authentication/permissions/ for a list of possible permissions.

0

精彩评论

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