0

I use facebook Graph API to create a feed for facebook from my own web site. It is successfully created and returned with an ID of the feed.

My question is, is it possible to create a link to this individual feed in facebook so that user from my web site can directly click and open that feed?

I know for twitter and foursquare this is possible, as I have done it.

Thank you, George

George Sun
  • 881
  • 1
  • 10
  • 20

1 Answers1

1

I'm not sure if there's a "graph way" of doing it, but you can construct such a url given the user id/username and the post id (which you have):

http://www.facebook.com/USERNAME_OR_ID/posts/POST_ID

that url should take the user to the post.


Edit

I take it back, here's the "graph way" of doing it, using the FQL stream table:

SELECT post_id, permalink
FROM stream
WHERE post_id = "USERID_POSTID"

I'm not sure why the post_id is made of the user id + '_' + post id, but that's how it looks like. You can see the user posts like so:

SELECT post_id, permalink
FROM stream
WHERE source_id = me()

(try it)

Nitzan Tomer
  • 155,636
  • 47
  • 315
  • 299