Pelles C forum

C language => Windows questions => Topic started by: lamer on November 04, 2010, 11:07:17 PM

Title: Publish message on Facebook wall
Post by: lamer on November 04, 2010, 11:07:17 PM
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
Code: [Select]
http://facebook.com/writewall?user=username&password=password&message=messagebut unfortunately it doesn't work.
Title: Re: Publish message on Facebook wall
Post by: andre104 on November 11, 2010, 08:15:26 AM
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
Title: Re: Publish message on Facebook wall
Post by: Grey Bart on March 22, 2011, 10:18:04 AM
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.