How to show posts from a Facebook Fan Page on a Website

Asked

Viewed 7,155 times

6

I wonder which Api or Plugin should use to make available on my site the latest posts of my FanPage.

Actually I’m still researching to see if what I want to do is possible. What I intend to do is in a common site, make available the information of my social media.

For example, put on this page the latest posts from my FanPage of facebook, the latest posts from Twitter, last of Instagram. So I started with the Facebook to find out if it is possible to do this kind of thing and at first I did not put my hand in code and do not know much the APIs of Facebook.

  • Hi Patrick, welcome to [en.so]. What have you done? Do you have any code examples? Do you already use any of the facebook Apis? Without this information, your question becomes too broad.

  • Please, [Edit]and the question to add information about your problem instead of explaining here in the comments.

1 answer

3

I think what you’re looking for is Activity Feed, one of the many plugins that Facebook makes available so that you can display data from your Facebook page on your web-site.

Do not require any programming from you, just go to the link and fill in your address. A code is generated that you must copy to your website, placing it in the place where you want the Activity appear.

https://developers.facebook.com/docs/plugins/activity

inserir a descrição da imagem aqui

  • This activity plugin would suit me yes, but searching what would be ideal was to have the Embed Post plugin so that it automatically took the last post I inserted into my fanpage and add to the site, and not as it is today, because every time I create a new post I have to pick up the embed code from it, go on the site and change.. It is not automatic.

  • @Patrick O Activity Feed Facebook presents the latest posts, of course, it loads the same when you go to the page... if you have the page open when you put a post new to Facebook, you need to update it by clicking on the update button of your browser, or by using the key F5. Thus the last shall appear post added... no need to always copy the code.

  • The Activity Feed problem is that it only appears the link to the post, and I would like a preview of the post like this one below. http://static.squarespace.com/static/506ecd35e4b0400133c9194d/t/51ffd583e4b0d7e07cd8d8d8b0/1375836863/embedded-facebook-post-embed-facebook-example-howto.PNG

  • @Patrick For this purpose, you should use the Facebook Plugin Embedded Posts.

  • As I said, is there any way to automate the Embeded Posts Plugin so that I add the page and it always searches the last post on this page? Because the way it works today, you should add the fixed post.

  • @Patrick does exist, but let me test it first because it requires use of the Facebook API. By the way, what language are you using? PHP ?

  • I am using PHP!

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.