5
Custom HTML on Facebook – How to create a Facebook Note on your profile or page
3 Comments · Posted by Christian in The real job
Last week I received a comment on my post about writing on a Facebook Page wall with no logged-in user asking if I could write an example how to post a note. Usually I don’t blog on request but I’ve never noticed this Facebook Notes feature before and found it to be quite a nice way to publish custom HTML on Facebook.
So I show you how and why.
First I took a look at the Facebook documentation about the Notes object in the Graph API. There I found a link to an example note.
This was really cool news to me as the note was much more than I expected.
Basically a note has two attributes: a subject and a message part. The cool thing about this is though that the message can contain HTML!
A note can be shared which will publish it on your and your friends stream. There it will look like a regular status message that summarizes the contents of your note automatically.

However when you click on the link in that message you will be directed to a Facebook Note page that shows the whole HTML contents of your note in your profile.

You see in this really small example that you can write HTML in the center part of the Facebook layout.
So how can you do it via the Graph API you ask?
Well according to the documentation there seems to be no way to create a note. However if you dig deep enough you will find a simple answer.

So assuming that you gained an access token (maybe like this or this) you can do the following.
It’s really simple to do. Yet the possibilities of Facebook Notes seem to be amazing.
Facebook · PHP · social media
-
http://www.chandutv.com Chandu
-
http://www.ahmetkapikiran.com Ahmet
<< The condemned live longer – Is Abobe Flash going to stay after all?

