we are trying to create website based on RSS feeds collected from different sites, and
viewing RSS links in the same way of the facebook is one of requirements. so how it does?
Facebook link
Thanks in advance,
You may use this tutorial to build facebook type link extractor
Related
I am looking at importing Facebook posts and not just embedding a Facebook iframe in the page. I want to be able to get the SEO benefits of having my website news page updated all the time by my Facebook page and I believe if I just use the Facebook embed code this wont work to improve it ?. Does anyone know of a tutorial or plugin for importing posts / pics into a php based website ?.
Thanks
Iain :-)
For this you may want to look at their graph api, https://developers.facebook.com/docs/reference/api/post/
https://developers.facebook.com/blog/post/490/
you need to authenticate to facebook and retrieve the post using the api
or you can use their plugin to display the fanpage posts on your website, it's much simpler.
Social2blog ( http://www.social2blog.com/ ) import facebook posts in your blog, with a creation of Wordpress post and then with real SEO benefits. Furthermore Social2blog permit to decide if you want to point the canonical url to Facebook post. The problem with Social2blog is that it works only with facebook page. Otherwise you can create your own php script, please refer to:
How to pull in Facebook Page posts as blog posts to WordPress?
We want to add an activity feed for a Facebook page as a widget to our Wordpress blog. This seems like it should be a simple thing to do, the Facebook documentation refuses to yield the relevant description though. It seems like 'perhaps' an app is required, although maybe not...
Any tips much appreciated.
Toby
You can grab an RSS feed from a facebook page through the graph API; which will be written in XML
Edit:
Most of the necessary steps are outlined here: http://sem-group.net/search-engine-optimization-blog/subscribe-to-your-favorite-facebook-page-via-rss/
Although you'll need to get the id of your page as part of the steps above.
To get Facebook page id: http://rieglerova.net/how-to-get-a-facebook-fan-page-id/
Wordpress seems to have its own specific plugin for importing RSS feeds:
http://wordpress.org/extend/plugins/rss-import/
(P.S. IF you find that this answers your question would there be any chance you could accept it?)
I've successfully integrated a Facebook Like button to WordPress based website. The Facebook Like button is shown only on single posts. However, I would like to output how many times a post is being liked on the front page of my site without showing the actual like button. A simple number output is what I'm after.
I've been reading Facebook documentation as well some tutorials that partly deal with this issue, but haven't got anywhere so far.
Paste this function in your theme functions.php file and save the file.
function bfan() {
$pageID = 'Page ID/Page Vanity URL';
$info = json_decode(file_get_contents('http://graph.facebook.com/' . $pageID));
echo $info->likes;
}
Then you can call the function.
You will need to know your facebook page ID or facebook page name,then just substitute it in the code above.
Hope this helps you out.
Facebook has an API for finding out how many Facebook shares (likes etc.) a page has:
http://graph.facebook.com/?ids=https://stackoverflow.com/
I found here a simple and great solution: link
If you want see the evolution of your Top Social Stories in your Wordpress, you can use this plugin that tracks data from Facebook, Twitter and Google+ for each post and globally for all the links of your blog and export these data also in custom field to use them in your theme.
UPDATE: this plugin now tracks also Pinterest, Linkedin and Vkontakte and has many new features.
Can someone tell me what happens when i enter a link into the Facebook Status Update Form and it loads up a mini info kinda thing of the website (I'm guessing its RSS or something?)
How do i implement this on my site using PHP?
What do i need to learn to be able to implement that?
It scrapes the page you are linking to. It doesn't have anything to do with RSS.
By looking at the HTML of the page it can get the page title for you and find all the images that can be used as a thumbnail.
Take a look at HTTP or cURL in the PHP manual for methods to get webpage content.
I would like to show the following links (I think they are called badges) on my homepage.
Assume my website is called 'abc'
An image saying 'abc' on FaceBook, become a fan (and display a set of random pictures of some of my members)
A 'follow us' on twitter link
Ability to publish changes to my site (e.g. new news etc) to Twitter
An example of this can be seen on startups.com
I am using PHP for development - I would like to learn how to put the Facebook and Twitter links on my homepage.
Facebook Fan Box is exactly what you're talking about
Most people just link a promo image to their Twitter profile. Some free ones here that I've seen a couple sites use.
do you want to automatically Tweet out new posts? Are you using any kind of CMS for which a plugin might be available? Otherwise there are a ton of PHP Twitter libraries out there you can hook into the publish action on your site (assuming you have a custom CMS of some kind). Or if you have an RSS feed setup, you can have Twitterfeed Tweet it out.
If you just want visitors to be able to easily Tweet out your links, Tweetmeme (among lots of others, but it's the service I'm most familiar with) has a nice Retweet button.