Simple Facebook Integration
I want to integrate a friends website (photographer) with Facebook. I've been trying to find the answer in the Facebook Developers guide, but it doesn't seem clea开发者_高级运维r to me.
What would I need if:
- I want to have a like button per photo album he has
- I want to publish his news that he enters in my cms to his facebook wall
Do I need an application? Or can I accomplish this with plugins?
Thanks in advance.
the like button can just be added by inserting a code snipped
facebook will take care of the rest.
if you however want to do more with your liked pages like send updates and have statistics, you need to register an app and supply the app id as meta tag in your website. the open graph notation is used.
to publish news post you can obtain a permament token and publish using the graph api, but there are also alternative and probably easier methods
You should keep it simple and be able to accomplish these with just plugins... FB's documentation is quite rich:
In here it explains how to add the like button:
- http://developers.facebook.com/docs/guides/web
- http://developers.facebook.com/docs/reference/plugins/like
And this to post to his wall:
- http://developers.facebook.com/docs/reference/plugins/live-stream
精彩评论