Search code examples
facebookiosuploadphototagging

error_msg=Invalid photo tag subject, error_code=322


Using fbconnect on iPhone.

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                               pid, @"pid",
                               FACEBOOK_PAGE_ID, @"tag_uid",
                               @"50.0", @"x",
                               @"50.0", @"y",
                               nil];

[self.theFacebook requestWithMethodName:@"photos.addTag"
                              andParams:params
                          andHttpMethod:@"POST"
                            andDelegate:self];

Is my FACEBOOK_PAGE_ID really wrong? In that case, how can I find the right one?


Solution

  • look at facebook developers page, the seccion photos/tag:

    "Currently, you cannot tag a Page in a photo using this API"

    The link