tags:

views:

24

answers:

1

I am beginner in facebook API. I want to post score in wall in facebook using facebook API.

Please let me explain step by step.

It's urgent.

Thanks in advance , in any help.

Thanks Gautam

A: 

Once you have an access token for the user you will just need to do a POST request to the Graph API. You can read the documentation here: http://developers.facebook.com/docs/reference/api/post

The example from that page shows how to do it with php.

curl -F 'access_token=...' \
     -F 'message=Check out this funny article' \
     -F 'link=http://www.example.com/article.html' \
     -F 'picture=http://www.example.com/article-thumbnail.jpg' \
     -F 'name=Article Title' \
     -F 'caption=Caption for the link' \
     -F 'description=Longer description of the link' \
     -F 'actions={"name": "View on Zombo", "link": "http://www.zombo.com"} \
     -F 'privacy={"value": "ALL_FRIENDS"} \
     https://graph.facebook.com/me/feed
Nathan Totten

related questions