homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
Forum Library, Charter, Moderators: rogerd

Community Building and User Generated Content Forum

Facebook Developers Get API For Status, Notes, Links, and Video

 11:10 am on Feb 7, 2009 (gmt 0)

Facebook Developers Get API For Status, Notes, Links, and Video [developers.facebook.com]
We're launching several new APIs for Facebook Platform today. These new interfaces open up access to the content and methods for sharing through several Facebook Applications -- including Facebook Status, Notes, Links (what we used to call Posted Items), and Video -- to go along with the APIs already available for uploading and viewing through Facebook Photos. We've seen increasing engagement with over 15 million users updating their status each day and sharing over 24 million links per month. We wanted to make sure this content and the ability to share this content was available through our standard APIs.

Specifically, your applications can now directly access all of a user's status, links, and notes via new methods and FQL calls. Your application will have access to any status, notes, or links from the active user or their friends that are currently visible to the active user. In addition, we're opening new APIs for you to post links, create notes, or upload videos for the current user, and we've made setting a user's status easier.



 1:57 pm on Feb 7, 2009 (gmt 0)

fantastic. I've been waiting for *status* for a long time, glad it's finally open to the API! Thanks Facebook


 3:28 pm on Feb 9, 2009 (gmt 0)

gawker reported a 45% increase in registrations after incorporating facebook connect: [alleyinsider.com...]

opening their api should bolster fb connects usage considerably. it's going to be interesting how webmasters will adapt it to their sites.

i haven't heard much on how google is gaining traction in this area.


 5:16 am on Feb 13, 2009 (gmt 0)

The dev wiki describes this method:

I just downloaded the latest PHP5 client library from f8, and that function isn't in there. Am I missing something?


 9:27 am on Apr 12, 2009 (gmt 0)

I couldn't find the code in the API either -- or get it to work using either of the API calls shown in the wiki.. and wasted a lot of time trying to figure out if it was some thing I was doing wrong... argghhh!

Note the API page:
still lists status.get and status.set as
(BETA), (scroll down list of alphabetic listed functions).

After a bit of RTFM, I decided to try using FQL to directly access the status data.

I whipped up the following php / FQL and was able to retrieve and display the status message data for myself, (as logged in user), and for my friend's user ID's.

$user_id = '[red]{replace with user id}[/red]';
$query = "SELECT uid,status_id,message FROM status WHERE uid=$user_id";
$result = $facebook->api_client->fql_query($query);
if ($result != NULL) {
$status_id = $result[0]['status_id'];
$message = $result[0]['message'];
echo "$status_id :: $message<br />";
} else {
echo "No status messages found.<br />";

The columns available from status table are:

  • uid
  • status_id
  • time
  • source (app which posted status msg)
  • message

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved