I'm developing a software in C++/Qt5 and I would like to create a button, which when u click on it, a "status" is posted on the user own wall.
So I created a facebook app on https://developers.facebook.com/ but I don't know how to configure it.
Also I tried to run via my program this cURL command :

curl -F 'access_token=XXX' -F 'message=test' http://graph.facebook.com/me/feed 

and I have this error :

{"error":{"message":"An active access token must be used to query information about the current user.","type":"OAuthException","code":2500}}

I don't know what it exactly means, but I think it's because the user have to permit to my app the access to his wall. So I decided to make a 'Authorise access to your Facebook account' but I don't know what cURL or C++ command I should use to make it work.

Thank u in advance for your contribution

3 Years
Discussion Span
Last Post by Amir_6

ok forgot about the curl command, I think my access_token does no longer exists. Also forgot about the facebook application I created on https://developers.facebook.com/ .
I just want, from my C++ application running on windows, to post on own facebook wall. I can use cURL executable application.
What are the steps?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.