开发者

Tag Facebook friends in a status on iPhone

开发者 https://www.devze.com 2023-03-27 09:47 出处:网络
I have used the following code to get user\'s friend list: NSString* fql = [NSString stringWithFormat:@\"SELECT name,uid FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1=%lld )\",appDelega

I have used the following code to get user's friend list:

NSString* fql = [NSString stringWithFormat:@"SELECT name,uid FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1=%lld )",appDelegate.session.uid];
NSDictionary* params = [NSDictionary dictionaryWithObject:fql forKey:@"query"];
[[FBRequest requestWithDelegate:self] call:@"facebook.fql.query" params:params];

And I want to t开发者_如何转开发ag friends in my status post. I know this can be achieved by Facebook Graph api-

@[{user_id}:1:{name}]

But I don't know how to implement this. No idea. Can anyone please guide me how to implement this Facebook Graph API?


To the best of my knowledge, you can't tag users like this using the Graph API. The functionality you're looking for is a feature limited to the Facebook website only.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号