Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Important - I'm taking a leave of absence from D for a (hopefully short) while, so don't expect any updates here during that time.

Welcome to fbd

Namefbd
CategoryServer Resources
Status3 - Alpha
Home Pagehttp://www.dsource.org/projects/fbd
Short DescriptionFacebook client library
Long Descriptionfbd is a Facebook client library for the D Programming Language that uses Tango and Mango


Sample code

 char [] apikey, secret;
 // get your api key and secret

 auto fbClient = new FacebookClient (apikey, secret);
 fbClient.authenticate ();
 auto loginUrl = fbClient.loginURL ();

 // log in to Facebook using loginUrl

 fbClient.getSession ();
 auto user = fbClient.getThisUserInfo (FacebookUser.Fields.FIRST_NAME, FacebookUser.Fields.STATUS);
 // use user.firstName and user.status


Documentation

DDoc generated documentation

Notes

Testing

fbd is by no means complete, so it requires a lot of testing, especially with DMD, on Linux, on Windows, and for web applications.

DSSS

fbd can't be installed by DSSS yet. It will once DSSS allows switching between Phobos and Tango.