Vitor
Vitor

Reputation: 521

How can I get tagged_places of my friends?

When I submit a get on Graph API Explorer, like that:

me?fields=tagged_places

Works good and return the data of my 'tagged places' to me.

But when I try to get 'tagged places' of my friends, I got this error message:

"error": { "message": "(#100) Unknown fields: tagged_places.", "type": "OAuthException", "code": 100

I want to know if is not possible to get 'tagged_places' of my friends or Im doing something wrong.

Upvotes: 3

Views: 199

Answers (2)

hellzera
hellzera

Reputation: 76

You need to have the permission of the item you were tagged in.

Take a look at this answer.

Upvotes: 6

Nithya Sivakumar
Nithya Sivakumar

Reputation: 178

Kindly note that the field 'tagged_places' is only accessible on the User object after the user grants the 'user_tagged_places' permission.

This means 1. Your app should request for the 'user_tagged_places' permission during login 2. Your friends should approve of this request while signing into the app.

Hope this helps!

Upvotes: 0

Related Questions