Techcrunch today talked about a new “Like Button for the Whole Internet” which Facebook looks to be launching some time soon, and has been tested amongst several developers as they’ve been told. What they didn’t mention is that you can access the code for this right now in the code to the latest open source Javascript SDK. While it does not currently work in its current form, it is open for the entire public to see, and has been there for the last few months (along with a few other hints I’ll let you find).
Assuming the source of the new SDK (currently in alpha) remains the same, the XFBML button can be placed on any website on the internet, and it increments the number of likes when a user clicks on it. By default it increments the likes for the current page, but there appears to also be the ability to specify a “permalink” attribute, along with a URL to another page. It’s unclear if that will be changeable in the XFBML tag or not. Also, a required “node_type” attribute that defaults to “page” can be set. Lastly, an optional “page_url” can be set. The XFBML tag loads content from /widgets/like.php (attributes of the XFBML tag get passed as attributes in the URL). That URL appears to be disabled at the moment.
So it looks like the XFBML tag will look something like the following, and it will be part of Facebook’s widgets architecture:
Also of interest, Facebook has an entire tag library devoted to the new tag, like.js. You can probably gain a little more info from that. I can’t wait for them to turn on like.php so we can play with this.
My book, FBML Essentials, may just get a lot more interesting as Facebook prepares for their “OpenGraph API”, enabling any website to become its own Facebook Fan Page across the internet. This is one of many tags I’ve seen that are very interesting – see if you can look through the code and find anything else that looks interesting like this. I love being a developer. 🙂
Discover more from Stay N Alive
Subscribe to get the latest posts sent to your email.
Thanks for explanations…
Workers of the world unite, you have nothing to lose but your chains.
– Karl Marx –
Thanks, checked this out over on Git. Being new to the Facebook platform i went ahead and got a free developer account over at Jojent. For anyone looking to play around with the API you can try signing up for that.
Looks like they are accepting lots of folks into the free developer program lately. I was this close to buying a little slice over on slicehost, or checking out Amazon. Might be worth a look…
Wow…. I LIKE this!
[…] code and find anything else that looks interesting like this. I love being a developer. Read the original post at Stay 'N Alive birdbathBUZZ works with businesses to develop solid social media marketing and […]
Thanks for sharing this info on the new Like Button. I'll definitely find a way to put it to good use on various sites of my own. This is my first time here, but I love the layout. Bookmarked! 🙂
[…] there is the “like” button for any page on the internet. So, not only is Facebook going to share your profile with some sites, they are now […]
[…] there is the “like” button for any page on the internet. So, not only is Facebook going to share your profile with some sites, they are now […]
[…] there is the “like” button for any page on the internet. So, not only is Facebook going to share your profile with some sites, they are now […]
[…] talked about Facebook releasing a like button. Jesse Stay in his blog Stay N` Alive explained that Facebook will keep count on the number of ‘likes’ on the […]
This like button will definitely open up a lot of opportunity for user to gather information on their use demographic. Analyzing who likes our web sites gives us some insight what user group are attracted to our website. I wonder whether FB like 'button' will enable FB to gather information on websites like what Google Analytic does. Will FB Like become a competitor to Google Analytic
It is possible. I'm also curious how this will be treated in the
Facebook.com environment. Will articles “liked” go automatically to a
user's stream, will they be prompted? What happens when they “like” the
button?
[…] Facebook’s F8 conference was just yesterday, but the information on what was changing (see here, here, and here) started leaking almost a month ago. People new about the like button and the […]
I think there are a lot of mixed feelings about the Facebook Like Button.
Here's a video that analyzes the new feature, along with some talk about the privacy issue:
http://www.thecynch.com/analysis-of-the-faceboo…
-Cynthia
[…] Facebook’s F8 conference was just yesterday, but the information on what was changing (see here, here, and here) started leaking almost a month ago. People new about the like button and the […]
Jeder Mensch braucht Bewegung, Sportgerte, natrlich entscheidend, und die wie Sportschuhe, Sportbekleidung wie. Bevor ich auf anderen Seiten suchen gehen, habe ich mehrere gute Seiten ber die Sportgerte finden eine Menge Hilfe bieten, knnen wir frei sein zu sehen.air jordan 16.5
Do you know if it is possible to view all the users who have clicked the fb:like button?
Yes, I suggest using FQL, and looking up the “page” and “page_fan” tables:
http://developers.facebook.com/docs/reference/fql/
Like for the hole internet but you can like only if the like button is created. acc.ali.lv here is solution..
[…] there is the “like” button for any page on the internet. So, not only is Facebook going to share your profile with some sites, they are now […]
[…] there is the “like” button for any page on the internet. So, not only is Facebook going to share your profile with some sites, they are now […]
[…] there is the “like” button for any page on the internet. So, not only is Facebook going to share your profile with some sites, they are now […]