Take the 2-minute tour ×

I am building an iphone app that reads the videos uploaded , photos uploaded and posts from facebook. The photos and the videos are not from the feed, they are from the albums. So I got an access token for my app (not a user access token) and got it working for the photos and posts. But when I try to get the videos it returns me the following error:

   "error": {
     "message": "A user access token is required to request this resource.",
   "type": "OAuthException"

The documentation for pages (https://developers.facebook.com/docs/reference/api/page/) claims that all of these connections can be accessed by any app or user access token, but the error message received implies that a user token is required. Is this a bug?

share|improve this question
Please post the actual API call you're making. –  Jeff Sherlock Oct 24 '11 at 12:45
graph.facebook.com/yyyyyyyyyy/… –  jonypz Oct 24 '11 at 15:22
and graph.facebook.com/yyyyyyyyyy/… –  jonypz Oct 24 '11 at 15:22
and graph.facebook.com/yyyyyyyyyy/… –  jonypz Oct 24 '11 at 15:23
Coulton, that's not correct. App access tokens are a distinct concept from user access tokens. A user access token involves a user authorizing an app and can be used by the app to perform actions and fetch data in the context of the user. An app access token is exchanged for the app secret, and is typically used to perform actions on behalf of the app itself (NOT a page). –  Yuliy Oct 25 '11 at 18:23

3 Answers 3

try something like this.. just convert the string to a URL..

NSString *urlString = [NSString stringWithFormat:@"https://graph.facebook.com/me/videos/uploaded?date_format=U&access_token=%@",[authenticationKey_ stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
share|improve this answer
up vote 0 down vote accepted

the bug has been confirmed and assigned


share|improve this answer

You need permissions for user's videos and pictures.

share|improve this answer

Your Answer


