Kineticz Interactive

  • Archive
  • RSS
  • Ask me anything

Graph API: issues posting to feed

I have been using the graph api instead of the old REST api when integrating with facebook lately.  There have been a couple issues here and there, but for the most part it has been a breeze and an amazing increase in speed.  No longer having to make complicated requests and things that is a real blessing.  The guys over at big space ship made it even easier by writing a slick oauth bridge that has been really easy to integrate in the websites I have done.

One issue that I ran into lately was I couldn’t get posting to the feed working.  I have posted a million things to a users feed before and couldn’t figure out why I kept hitting this roadblock. It only happened when I tried to set the link parameter, and there was nothing I could find to get this thing working.  Finally i tried using a simple javascript example provided by facebook to see if it had something to do with flash.  Low and behold facebook’s example doesn’t work and in javascript they give you a nice warning that explains the problem.  The value of the link parameter MUST equal either your website url or the canvas url that are set in your facebook app settings.  I didn’t find any documentation on this and there are no results in the json to explain this error.  Luckily the JS SDK does give the error or I’d probably still be trying to fix it.

    • #facebook
    • #graph api
    • #flash
    • #oauth
  • 1 year ago
  • Permalink
  • Share
    Tweet

About

kineticz interactive specializes in all facets of web and mobile development.

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr