5
votes

I've found a quite strange behavior if I try to post to a user wall (feed) using the graph API (tested with Python and JavaScript SDK):

If I include a valid facebook internal link including GET parameters (i.e. link to an app) the API fails with a HTTP status 500. If I use any other external link (with GET parameters) or an invalid facebook link or a facebook link without GET paramters, everythings works fine.

You can try this in the Graph API Explorer:

POST: https://graph.facebook.com/me/feed

Non-working Fields:

Working Fields (invalid sk parameter):

Any ideas? Or a suggestion how to post a link to a facebook app (i.e. http://www.facebook.com/pages/Lorem-Ipsum/159165434150059?sk=app_227540913924543)

2
all links are redirecting me to facebook.com immediately.. maybe the page is not there ;) I bet if you try facebook.com/pages/Lorem-ipsum/113228275356668 it will work :) - Walialu
yeah, this were just (bad) non-public example urls. if you add a get parameter pointing to an app it won't work. - Reto Aebersold

2 Answers

0
votes

Not sure about posting a link, but when uploading a photo, you cannot post a photo with a link from facebook domain. You must use an external resource.