开发者

Manage Facebook profiles using API

开发者 https://www.devze.com 2023-02-05 10:19 出处:网络
I have a php application.I want to manage my facebook profile from my application itse开发者_如何转开发lf.

I have a php application.I want to manage my facebook profile from my application itse开发者_如何转开发lf. 1)Logged in to facebook 2)Add comments 3)update my profile etc.....

is it possible using facebook API.

Help is highly appreciated.

Thanks, Companion


Yes it is possible. Have a look at this description of the Facebook Graph API, near the bottom is a section on publishing (you do it by sending POST request...):

http://developers.facebook.com/docs/api/

And here is their example for posting to someones wall:

curl -F 'access_token=...' \
     -F 'message=Hello, Arjun. I like this new API.' \
     https://graph.facebook.com/arjun/feed

And here is an exmaple of posting something to your own feed:

curl -F 'access_token=...' \
     -F 'message=I am posting to my own feed. I am awesome.' \
     https://graph.facebook.com/me/feed
0

精彩评论

暂无评论...
验证码 换一张
取 消