You can get the Facebook Page content by the following URLs:
- RSS 2.0
- Atom 1.0
Where the [fb-page-id] could be found by browsing your Facebook Page -> Edit Page. That URL should have the following format.
We can create a Twitter share hyperlink just like what we did for Facebook share as we mentioned before.
Create Facebook Share hyperlink for specific URL
For Twitter sharing, it can be done as follow.
Try the following link.
We can create an <a> anchor hyperlink which will share a specific URL on Facebook.
For example, the following URL which share my About page on Facebook.
AddThis is great tool for bringing the benefits of social networks to your website. By default the Facebook Like Button provided by AddThis will be translated into different language based on the browser user agent. But you can enforce it to English by adding the the fb:like:locale attribute to the code as follow.
<a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:locale="en_US"></a>
Reference: AddThis forum – Default “Facebook Like” button language
I found a very good WordPress plugin which could replace the built-in WordPress comment box with Facebook comment. It is developed by Fat Panda. Search the term Fat Panda in the Add Plugin page.
The above example is incomplete as there is no logout link. Replace the fb-login-oauth2.php as follow. Continue reading
and it should work works with OAuth2. Continue reading
If you have the infinite redirect loop problem in Internet Explorer 8. Add the following header in PHP.
header('p3p: CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"');
After logged in to Facebook, we can post message to the logged in user account with hyperlink. Try the following code. Continue reading