Facebook Graph API: Feed publishing showing up as link type instead of status?

Posted by Redth on Stack Overflow See other posts from Stack Overflow or by Redth
Published on 2010-05-25T12:30:01Z Indexed on 2010/05/25 12:31 UTC
Read the original article Hit count: 301

So I'm publishing to a Facebook Group's Feed in my app, using the Graph API. It works fine, except facebook keeps treating the published info as a 'link' feed item type instead of 'status' like it does when I enter the same from facebook's site.

eg:

string url = "https://graph.facebook.com/<id-of-group/feed?access_token=<access-token>";
string data = "message=hello";

webClient.UploadString(url, "POST", data);

Now when I pull the feed items, the json that is returned has "item":"link", with "link":"http://www.facebook.com", whereas I'd expect it to be "item":"status" and no or an empty "link" property.

Any ideas?

© Stack Overflow or respective owner

Related posts about c#

Related posts about JSON