views:

423

answers:

2

I'm trying to make an API call to Facebook to retrieve my status and display it on my website.

+1  A: 

Check out the Facebook Javascript client library. There's a stable version and a new alpha version. Looks like you want the client library to access their RESTful API.

Here's all the pieces

philfreo
A: 

those links seem outdated, try the graph api.

sample code:

var fbObj = 'http://graph.facebook.com/brianyang1&callback=?'; $.getJSON(fbObj, function(json) { $('#output').html(json.first_name); });

brian