Facebook - Publish to wall Without Registering Application

NOTE:Since the time of writing Facebook have changed their setup so that now you always need to provide a valid appId to FB.Init() before calling FB.ui() - so now you always need a registered application to publish to a wall and the rest of this post is out-of-date, Grrrrrr!

Q: Is there a way that my website can post to a users Facebook wall without having to register an application?

A: Yes there is, on way is to call FB.UI() from Javascript, it will pop up a window to ask the user if it is ok to post etc (a good thing), but otherwise you won't have to register a facebook application!

It is very hard to find information about how you website can post to the facebook wall without having to register a facebook app first, nearly all the articles out there start with - 1.) Register your application with facebook!

But what if you don't want any of that complication, all you want to do is post to a user's wall? Well here's a post on stackoverflow that explains one way to do it via Javascript:

http://stackoverflow.com/questions/2724977/using-facebook-graph-to-simpl...

See Item 3 with the big green tick - It works a charm....

Thank you Soufiane Hassou!

To import the Facebook javascript API you first need to add the following attribute to your web page's html tag:

xmlns:fb="http://www.facebook.com/2008/fbml"

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Pride on FacebookPride on TwitterPride on TwitterPride on Twitter

Join Our Newsletter

* indicates required

Irish Internet Association

finalist.png
phone-number.png