I'm building my website and what I am trying to do is the following:
I'd like to show the recent post I've made on my facebook's wall on my webpage, but just my own post not everyone else's just mine!
Here's an example of how I would like to do it:
I have done the same with twitter which is very simple: setting---> widget----> create new widget---> and that's it!
But in facebook I have tried with developers tools (comments plugin)in facebook but that's not what I need because it shows everyones post, it looks like this:
What you need to do is very simple as go to here, and in the Facebook page URL, you just have to change that URL for yours, like this:
http://www.facebook.com/FacebookDevelopers
Change it to:
http://www.facebook.com/yourfanpageID
Then just check "show post" and then "get code"and that's it. You will finally show your post in your website page.
Related
I have authorized Facebook app, that is, ability to use FQL.
I have to know if some url in the internets have facebook like button. I've read the manual and don't find anything that helps me. Have I missed something?
I suppose you need to scrape the page and look for the related Facebook tags. Another thing that may work is checking the page against the Facebook graph end-point like so (example 1 - 2):
http://graph.facebook.com/PAGE_URL_HERE
http://graph.facebook.com/http://www.masteringapi.com/
http://graph.facebook.com/http://www.masteringapi.com/tutorials/how-to-use-facebook-registration-plugin-as-your-registration-system/15/
If fields like likes or shares is present then maybe a like button is there. Yet that also could mean that someone just posted the link on Facebook.
So I'll be the first to admit I'm not so great with the whole facebook like button thing.
On my site http://vegasonthemic.com I have facebook "like" buttons for every post (of a custom post type "portfolio") that are automagically generated.
When you click this like button it shows on your facebook profile that you liked something with a thumbnail and the excerpt text.
BUT when you look at your news feed all it says is "Bob liked this artist" and doesn't show any of the metadata. Is there something I'm missing for this function to work?
You can see your problem here: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fvegasonthemic.com%2F
Fix the issues that the linter is showing. Then your website will work fine.
I am building a website for a client. He has a Facebook page for his business. On the homepage of his site, he wants a feed that will pull in all the updates from his business' Facebook page.
Now, I felt this would be very easy to implement (maybe it is) but I have scoured the Facebook API for any simple way to do this. I am having a lot of trouble understanding which way I should do this. I've settled on using JS to access it, but have no idea where to go from there.
Do I need to create an app? If so, which options do I select so I can access the clients facebook page?
How do I get my app that I've created to show up so a user can authorize it? I have so many questions, and Facebook isn't very good at giving me answers.
Any help is greatly appreciated.
I would suggest you just use the facebook page's RSS feed.
Example
Take his page URL e.g.
https://www.facebook.com/pages/Lazery-Attack/6001014870
Take the number at the end of the url off, and plug it into the facebook feeds URL e.g.
https://www.facebook.com/feeds/page.php?format=rss20&id=6001014870
Voila, you now have an RSS feed you can integrate into the website you are building.
URL Breakdown
The URL is broken down the following way:
https://www.facebook.com/feeds/page.php?format={feedFormat}&id={PageID}
Vaid feed formats are:
RSS - rss20
Atom - atom10
JSON - json
Other Examples
Atom
https://www.facebook.com/feeds/page.php?format=atom10&id=6001014870
JSON
https://www.facebook.com/feeds/page.php?format=json&id=6001014870
Take a look at the facebook API, right here: http://developers.facebook.com/docs/reference/api/page/
You can give it a try here:
http://developers.facebook.com/tools/explorer/?method=GET&path=19292868552%2Fposts
The like box: http://developers.facebook.com/docs/reference/plugins/like-box/ also has the latest posts available
The simplest way is to add a Like Button to the page and make sure "show Stream" is checked on as this will show all recent posts. You can customise the appearance also (e.g. width, height etc).
No App or messy API calls needed!
Try it out here and simply paste the resulting code into your webpage:
http://developers.facebook.com/docs/reference/plugins/like-box/
Not an app, but the Facebook Social Plugins over here at Facebook For Pages
I don't know where to put the code onto my facebook page. I have searched everywhere and no one and no site gives me a specific answer enough for me to understand.
Well, here is facebook's official page. http://developers.facebook.com/docs/reference/plugins/like/
It explains all the tags and how to use them as well as a generator for whatever facebook url you might want.
I'm trying to embed the Facebook Like button on a web site. The URL of the item I am trying to allow the user to "like" is an individual Facebook post on a Page's wall.
I'm using a simple FBML implementation of the Like button like so:
<fb:like href="http://www.facebook.com/[PAGENAME]?v=wall&story_fbid=[ID OF THE POST]" layout="button_count"></fb:like>
The like button works, but when it is clicked, the user is actually liking the PAGE, not the individual post.
Any help would be much appreciated. I've tried various formats for the URL, but so far have not been able to make it work.
Thanks!
What you are trying to do is not possible. You can only 'like' things that have a unique page to display them. The url you have ?v=wall&story_fbid=[ID OF THE POST] is just a 'helper' url for facebook. It takes you to the http://www.facebook.com/[PAGENAME] url and Facebook will treat this url the same as the page.
It is a bit confusing because you could do something like you are talking about off of facebook, but the like inside of Facebook isn't really the same as what the like button's are doing. The like buttons are using the Open Graph protocol. Content on facebook.com doesn't play by the same rules.
In short, likes for "facebook generated" content inside of facebook can only be liked inside of facebook.
Check out this article for more information on some of the things you can do with the like button inside facebook: http://developers.facebook.com/blog/post/407
Very late answer, but the Graph API might help. You might be able to grab a post and like it - https://developers.facebook.com/docs/reference/api/post/