资 源 简 介
PLEASE NOTE: This SDK is probably not the best option to build an application with. I never completed it, there are some known bugs, and Facebook has changed their API several times since I last did anything with this. There are some alternatives available if you look hard enough. This SDK was basically just Java practice for me.
A Java SDK for the Facebook API.
By Travis Beauvais
Javdoc: http://travisbeauvais.com/facebook-java-sdk/doc
Sample code:
```
Facebook f = new Facebook("access_token");
FacebookObject me = f.api("me");
System.out.println(me.getId()); // Outputs the current logged in user"s ID.
me = f.api("me", "photos");
System.out.println(me.photos.data[1].getWidth()); // Outputs the width of the current logged in user"s second photo.
FacebookObject album = f.api("99394368305");
System.out.println(album.getCount()); // Outputs the
文 件 列 表
src
com
Test.java
doc
resources
index-files
class-use
package-list
allclasses-frame.html
allclasses-noframe.html
constant-values.html
DataObject.html
deprecated-list.html
Facebook.html
FacebookObject.html
help-doc.html
index.html
Metadata.html
overview-tree.html
package-frame.html
package-summary.html
package-tree.html
package-use.html
stylesheet.css