Facebook Page Import to WordPress

Why lose you Interesting post on your Fanpage wall somewhere in the facebook nirwana from the point of google seo they index very bad and nearly no one will take a look at old fanpages post as most visitor even will not visit the fanpage anymore after liked one times. All Fanpage News arrive somehow in there News Feed . If they need information they will google for it but never will find your fanpage post except its world unic writing style.

So lets make a backup of your own Fanpage once for yourself and second for additional visitor on your blog.  Since its quite easy to import Facebook FanPages into you WordPress blog via RSS feeds syndication and importer Plugins. There is still one major problem …

 

All images of the feed point to the Facebook cached images that shows a thumbnail only with about 90px – 150px what is far to low to be a nice image for most blogs.

How to solve that lets take a look how FB cache image system. To reduce server load Facebook mostly only redirect the thumbnails to the original source and add size and ID information. via 

Safe_image.php

These url you will not see on Facebook internal Page only in the RSS feed . 

 

The Youtube Image cache link looks something like these 

https://blog.metaprime.at/wp-content/uploads/2012/10/default.gif

disabled url

https://s-external.ak.fbcdn.net/safe_image.php?

d=AQDPQSSO-0wfKdgA                                               | Image ID

w=130&h=130                                                               | Image size

url=https://i3.ytimg.com/vi/NH8FhsLPHyo/default.jpg     | Original source url

vi/NH8FhsLPHyo                                                           | Youtube video ID

 

Where are the big Youtube thumbs ?

Youtube store his Video Thumbs on the Ytimg server and has a strikt structure for all video thumbs. 

Default Yotube thumb for Facebook served with RSS https://i3.ytimg.com/vi/NH8FhsLPHyo/default.jpg

Big Youtube Thumb  : https://i.ytimg.com/vi/YtGSXMuWMR4/0.jpg  

 So quite simple to change the feed image ulr to point to 0.jpg instead of default.jpg

 Vimeo Video Thumbs

FB Video Thumb:

https://s-external.ak.fbcdn.net/safe_image.php?d=AQBZa8Qzwd6r8fcK&w=130&h=130&

url=https://b.vimeocdn.com/ts/168/707/168707618_200.jpg

 

WordPress Image Thumb

As you know you upload a image and give it some name WP auto produce a thumbnail depends on your setting and add the size info to the image name .That result in a image link like these.

Some other example with a shared WordPress post on a Facebook wall.

 

Facebook Image Post Thumb

Lets get the orginal full size image from the Fanpage RSS feed we can use the thumb link for the WP thumb system as a external thumb.

FB thumb:  https://fbcdn-photos-a.akamaihd.net/hphotos-ak-ash4/377276_10151007407720157_208928465156_21997485_881065726_s.jpg

 

FB full size: https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-ash4/c0.203.630.301.1743772242/p843x403/377276_10151007407720157_881065726_n.jpg

 

Disassemble url:

https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-ash4      | Image Server

377276_10151007407720157_208928465156_21997485_881065726_s.jpg  | Image name

You see the small _s.jpg  at the end ? Synonym for SMAL ?

Lets try BIGG  _b.jpg 

https://fbcdn-photos-a.akamaihd.net/hphotos-ak-ash4/377276_10151007407720157_208928465156_21997485_881065726_b.jpg

vuala we have the big original and steady Facebook image for our blog post embed.

 

Now to Finnish these little tutorial grab some RSS import Plugins from the WP Repository import and parse the image url to get full image size . 

Tested and would recommend : Syndicate Press and WP-o-Matic  but there are many others the last one offer RegEx in the backend so it supports the url rewriting .Probably we need to add several rules for different post types to the importer.

Best practice would be to test it out on a local MAMP test install before you import or publish the Fanpage posts on your Blog.

What will be the value effect ? You will recognise more visits on your blog than on your Fanpage ever would get for the same post you done on FB dosent matter what tool you use to publish . You even can time the import to tweet it from your Blog scheduled via  your import time.

 

Next Post : How to Publish like Instagram with a WordPress Blog 

 

 

Post your thoughts