Publish message on Facebook wall

Started by lamer, November 04, 2010, 11:07:17 PM

Previous topic - Next topic

lamer

Hi all,
Does anybody knows(or maybe has seen elsewhere) the way to publish message on Facebook wall from within C program? E.g. select the text in textbox and click on menu "Publish on Facebook".
IMHO, it should be simple HTTP request.
I've found the following after long search in Google
http://facebook.com/writewall?user=username&password=password&message=message
but unfortunately it doesn't work.

andre104

You need to set up a new app for that (alls apps accessing the facebook API have their own application ID, API key, and application secret).

Please check:
http://www.facebook.com/developers/apps.php

Grey Bart

For publishing message on Facebook WALL we would require additional user information like Access Token and User Id. Access Token is the unique key assigned to every account registered to an facebook application. Apart from this there are additional POST data that we have to send to Publish URL like Message, Application Canvas URL, Application Name, Caption and Action(Indicating external Http Link). Now let gets started with the code for publishing message to Facebook WALL.