"At Facebook's core is the social graph; people and the connections they have to everything they care about. The Graph API presents a simple, consistent view of the Facebook social graph, uniformly representing objects in the graph (e.g., people, photos, events, and pages) and the connections between them (e.g., friend relationships, shared content, and photo tags).
Every object in the social graph has a unique ID. You can access the properties of an object by requesting https://graph.facebook.com/ID. For example, the official page for the Facebook Platform has id 19292868552, so you can fetch the object at https://graph.facebook.com/19292868552:"
Objects
"A Page in the Graph API.
The fields shown below are some of the common fields of Facebook Pages. Pages may also contain other (or additional) category-specific fields. Access to certain Pages may be restricted based on demographic information such as the current user's age or location. Access may also be restricted to only a Page's administrators.
To read a Page you need:
no access token for public and non-demographically restricted pages
a user access_token for restricted pages that the current user is able to view (no special permissions required)"
"A user profile as represented in the Graph API.
Example
https://graph.facebook.com/me (the current user)"
"As of May 2008, Facebook has discontinued any support of their official Java client, directing users interested developing Facebook applications in Java to use one of the various third-party clients out there. As such, the purpose of this project is now to maintain, support, and extend the abandoned code base to provide a high-quality, up to date version of the Facebook API client for Java developers, and to keep the Java client up to date as the Facebook Platform API changes and evolves. "
"
RestFB is a simple and flexible Facebook Graph API and Old REST API client written in Java.
It is open source software released under the terms of the MIT License. "
Scribe, the simple OAuth Java lib!
Why use Scribe?
Dead Simple
Who said OAuth was difficult? Configuring scribe is so easy your grandma can do it! check it out:
Facebook has defined a set of common object types for use in your apps. Certain Built-in Object Types are designed to work with Built-in Action Types. However, you can also define Custom Action Types to act on any Built-in Object Type.
Facebook has defined a set of common actions for use in your apps. These Built-in Actions are designed to work with specific Built-in Objects. The following Built-in Action-Object pairs are available:
Listen - Song
Read - Article
Watch - Video, Movie, TV Show, or TV Episode