views:

425

answers:

3

StackOverflow'ers,

I realize the new "@mentions" is a very new feature to facebook, but can any of you think of how to access this feature using the Facebook API?

I would assume there would need to be a separate call to get a list of available users/applications/ect...

I am just brainstorming here, I realize this may not be possible yet. Any help is much appreciated.

Thanks!

+1  A: 

AFAIK, This is currently not available through facebook api.
( http://wiki.developers.facebook.com/index.php/Users.setStatus )

However you can use the following use the following format for tagging

 tagging @[USERID:blah] in my message from a app

where USERID is the numeric userId of the user whom you want to tag in the status and blah is any string. you should give a string there for it to work.

This format also works when you try to update the status on facebook directly. You can test it there.

Rajani Karuturi
I can't get this to work with the Open Graph API. Any luck?
ewakened
I am also trying to accomplish this. So far no luck with either @[USERID:x] or adding the to parameter as in the example on http://developers.facebook.com/docs/reference/api/post
Espen
A: 

I am trying $facebook->api_client->users_setStatus("Tagging @[5529xxxx:blah] in a status update from my app"); But the status gets updated to "Tagging @[5529xxxx:blah] in a status update from my app" and not "Tagging Pramod Nagaraj in a status update from my app". But it works great when I paste it directly in the status update box. What am I doing wrong?

Pramod
A: 

Also have no idea how to solve this. Anyone?

I have submitted a ticket for this here:

http://bugs.developers.facebook.net/show_bug.cgi?id=12947

Some apps are currently exposing a vulnerability within the facebook API

Colin Godsey