Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pull in Facebook Page posts as blog posts to WordPress?

After much struggle with getting Facebook to yield it's RSS feed for a page, it seems as though my futility levels have reached their peak.

JSON seems to work absolutely dandy for me and so to this end I am curious as to whether there are any plugins that would import FB JSON as blog posts since it seems that RSS XML's either going away or seriously b0rked. Can anyone recommend any plugins to accomplish this?

like image 398
ylluminate Avatar asked Mar 15 '12 04:03

ylluminate


People also ask

How do I link my Facebook page to my blog?

Log in to your Facebook account and find the Create post section at the top of the page. Type something about the blog post that you're sharing, and then paste the URL into the post directly below your text. After you've pasted the link, a preview of the blog post should populate below the text box.

Can you embed Facebook feed on WordPress?

Add Facebook Feed to WordPress Sidebar To get started, navigate to Facebook Feed » All Feeds from your WordPress dashboard. Then, click on the Facebook feed you want to embed. Now, you'll see the Facebook feed's live editor open up. At the top right, click on the Embed button.

How do I get my Facebook posts to show on my website?

To get the Facebook embed code from a post, simply: Choose the post you want to show. Click on the top right-hand corner options menu and choose “embed post” Copy and paste the code into your blog or website.


3 Answers

Another way to import facebook post in your blog is to use http://www.social2blog.com/ but work only with facebook page. Otherwise you can create your own php script:

  • get the post in json format from Facebook ( https://developers.facebook.com/docs/graph-api/reference/v2.0/post ) but first you need to know how get access token.
  • for each facebook post insert a relative wordpress post using wp_insert_post
like image 199
Andrea Dotta Avatar answered Oct 26 '22 21:10

Andrea Dotta


Unfortunately after having suspicions confirmed, Facebook has killed this feature. A solution has been recommended here: https://stackoverflow.com/a/9778635/320681

like image 32
2 revs Avatar answered Oct 26 '22 21:10

2 revs


Do you mean something like this: FeedWordPress. It syndicates content from feeds that you choose into your WordPress weblog. Hope it helps

like image 1
Sudhir Bastakoti Avatar answered Oct 26 '22 21:10

Sudhir Bastakoti