Skip to content Skip to sidebar Skip to footer

Can't Retrieve Friend's Album In Android/facebook

I'm trying to retrieve a friend's albums with the following code. Both the account I'm logged in and the one whose albums I'm trying to get are Test Users, so permissions shouldn't

Solution 1:

Did you create your app after 4/30/2014? If so, you're on version 2.x of the Graph API, and you can no longer get the photos of a friend. You can only access the photos of the user who has logged in and authorized your app. This is what @WizKid was referencing.

What you're seeing from selectedUsers.get(0).getID is from the taggable_friends endpoint, which gives you a one-time, obfuscated String id, and you should not try to use it for anything other than to tag friends (like when you're uploading a photo).

Post a Comment for "Can't Retrieve Friend's Album In Android/facebook"