- User
- Auth
- Personal
- Name
- Location
- Attributes
- State
- IsLoggedIn
- Friends
- Stats
- GamesPlayed
- AppsUsed
- GameStats
- GameAchievements
- Relations
- User
- Groups
- Friends
- Status
- etc.
- Friends
- IsFriends
- IsFriendUsingGame
- IsFriendUsingApp
- Apps
- SignedUpForApps
- Stats
- stats for apps
- stat for games
- User
- Feed
- Market
- Items
- Purchased
- Wishlist
- Own
- Items
- Apps
- SignedUp
- SignedUp
- Games
- GameList
- GamesPlayed
- Status
- CurrentStatus
- PreviousStatus
- Emotion
- Friends
- getFriends
- setFriends ?
- getFriend
- setFriend ?
- Groups
- getGroups
- setGroups ?
- getGroup
- setGroup ?
List of API actions in OpenSocial and Facebook,
You can see they vary, having a common library for social networks and widgets are needed these days as the frameworks grow
OPEN SOCIAL API DOCS: http://code.google.com/apis/opensocial/docs/0.8/reference/
OpenSocial API Reference (v0.8)
The OpenSocial JavaScript API includes two namespaces: opensocial.* and gadgets.*. This page covers the opensocial.* namespace. The gadgets.* namespace is covered in the Gadgets API Reference.
Contents
- opensocial
FACEBOOK WIKI API DOCS – http://wiki.developers.facebook.com/index.php/API
Facebook REST Interface
The API uses a REST-like interface. This means that our Facebook method calls are made over the internet by sending HTTP GET or POST requests to the Facebook API REST server . Nearly any computer language can be used to communicate over HTTP with the REST server.
API Methods
- Admin.getAllocation
- Returns the current allocation limit for your application for the specified integration point.
- Admin.getMetrics
- Returns specified metrics for your application, given a time period.
- Admin.getDailyMetrics
- Returns specified daily metrics for your application, given a date range.
- admin.getAppProperties (BETA)
- Returns values of properties for your applications from the Facebook Developer application.
- admin.setAppProperties (BETA)
- Sets values for properties for your applications in the Facebook Developer application.
- application.getPublicInfo (BETA)
- Returns public information about a given application (not necessarily your own).
- auth.createToken
- Creates an auth_token to be passed in as a parameter to login.php and then to auth.getSession after the user has logged in.
- auth.getSession
- Returns the session key bound to an auth_token, as returned by auth.createToken or in the callback URL.
- auth.promoteSession
- Returns a temporary session secret associated to the current existing session, for use in a client-side component to an application.
- auth.expireSession
- Expires the session indicated in the API call, for your application.
- batch.run (BETA)
- Execute a list of individual API calls in a single batch.
- data.getCookies (BETA)
- Returns all cookies for a given user and application.
- data.setCookie (BETA)
- Sets a cookie for a given user and application.
- events.get
- Returns all visible events according to the filters specified.
- events.getMembers
- Returns membership list data associated with an event.
- fbml.refreshImgSrc
- Fetches and re-caches the image stored at the given URL.
- fbml.refreshRefUrl
- Fetches and re-caches the content stored at the given URL.
- fbml.setRefHandle
- Associates a given “handle” with FBML markup so that the handle can be used within the fb:ref FBML tag.
- feed.publishStoryToUser
- Publishes a News Feed story to the user corresponding to the session_key parameter.
- feed.publishActionOfUser
- Publishes a Mini-Feed story to the user corresponding to the session_key parameter, and publishes News Feed stories to the friends of that user.
- feed.publishTemplatizedAction
- Publishes a Mini-Feed story to the user or Page corresponding to the session_key or page_actor_id parameter.
- fql.query
- Evaluates an FQL (Facebook Query Language) query.
- friends.areFriends
- Returns whether or not each pair of specified users is friends with each other.
- friends.get
- Returns the identifiers for the current user’s Facebook friends.
- friends.getAppUsers
- Returns the identifiers for the current user’s Facebook friends who are signed up for the specific calling application.
- friends.getLists
- Returns the identifiers for the current user’s Facebook friend lists.
- groups.get
- Returns all visible groups according to the filters specified.
- groups.getMembers
- Returns membership list data associated with a group.
- liveMessage.send (BETA)
- Sends a “message” directly to a user’s browser, which can be handled in FBJS.
- marketplace.createListing
- Create or modify a listing in Marketplace.
- marketplace.getCategories
- Returns all the Marketplace categories.
- marketplace.getListings
- Return all Marketplace listings either by listing ID or by user.
- marketplace.getSubCategories
- Returns the Marketplace subcategories for a particular category.
- marketplace.removeListing
- Remove a listing from Marketplace.
- marketplace.search
- Search Marketplace for listings filtering by category, subcategory and a query string.
- notifications.get
- Returns information on outstanding Facebook notifications for current session user.
- notifications.send
- Sends a notification to a set of users.
- notifications.sendRequest
- This method is disabled.
- notifications.sendEmail
- Sends an email to the specified users who have the application.
- pages.getInfo
- Returns all visible pages to the filters specified.
- pages.isAdmin
- Checks whether the logged-in user is the admin for a given Page.
- pages.isAppAdded
- Checks whether the Page has added the application.
- pages.isFan
- Checks whether a user is a fan of a given Page.
- photos.addTag
- Adds a tag with the given information to a photo.
- photos.createAlbum
- Creates and returns a new album owned by the current session user.
- photos.get
- Returns all visible photos according to the filters specified.
- photos.getAlbums
- Returns metadata about all of the photo albums uploaded by the specified user.
- photos.getTags
- Returns the set of user tags on all photos specified.
- photos.upload
- Uploads a photo owned by the current session user and returns the new photo.
- profile.setFBML
- Sets the FBML for a user’s profile, including the content for both the profile box and the profile actions.
- profile.getFBML
- Gets the FBML that is currently set for a user’s profile.
- users.getInfo
- Returns a wide array of user-specific information for each user identifier passed, limited by the view of the current user.
- users.getLoggedInUser
- Gets the user ID (uid) associated with the current session.
- users.hasAppPermission
- Checks whether the user has opted in to an extended application permission.
- users.isAppAdded
- Returns whether the logged-in user has added the calling application.
- users.setStatus
- Updates a user’s Facebook status.
Batching API BETA
Data Store API BETA
Permissions API BETA
Additional documentation
- Authentication guide
- Error codes
- Extended permissions
- Photo uploads
- Marketplace Listing Attributes
- Post-Remove URL
- Storable Information

