Tejaswi Yerukalapudi
Tejaswi Yerukalapudi

Reputation: 9157

Facebook iOS SDK: Tagging friends?

Alright, there's a bunch of confusing / conflicting information about whether it's possible to tag people in posts that you make .. so I was wondering what the latest on this is? The docs say that we need to send an array of objects each with id and name params set to the user you'd like to tag, but when I send that request out, I get an error message that says this:

Error Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0x79bf5b0 {error=<CFBasicHash 0x79bca80 [0x1740b48]>{type = mutable dict, count = 3,
entries =>
    2 : <CFString 0x7989260 [0x1740b48]>{contents = "type"} = <CFString 0x79be240 [0x1740b48]>{contents = "OAuthException"}
    3 : <CFString 0x79b55a0 [0x1740b48]>{contents = "message"} = <CFString 0x79b7f90 [0x1740b48]>{contents = "(#114) An id must be a valid ID string (e.g., "123")"}
    6 : <CFString 0x79bde00 [0x1740b48]>{contents = "code"} = 114
}
}

I've double checked that the id itself is valid. Any help is much appreciated!

Thanks,
Teja

Upvotes: 0

Views: 2918

Answers (2)

Nagendra Tripathi
Nagendra Tripathi

Reputation: 923

It's not possible to tag people in posts that you make through your iOS app on Facebook.

Facebook deactivated this feature for posts made via API long time ago

Upvotes: 2

Eyal
Eyal

Reputation: 10818

I researched this issue a lot a few months ago, I founded some posts that says it's possible with adding @[{user_id}:1:{name}] to the post, but eventually nothing worked. I suppose Facebook block this option in some point.
For now I'm pretty sure it's not possible, but I would be very happy to proved wrong here...

Upvotes: 0

Related Questions