0% found this document useful (0 votes)
505 views8 pages

Facebook API Guide for Developers

The document lists API methods for interacting with Facebook platform services. Some key methods include admin.getAllocation to get application allocation limits, auth.createToken to generate auth tokens, comments.add to add comments, events.create to create events, feed.publishUserAction to publish user actions, fql.query to run FQL queries, friends.get to get friends lists, groups.get to get groups, notifications.send to send notifications, pages.getInfo to get page information, photos.upload to upload photos, and profile.setInfo to set profile information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
505 views8 pages

Facebook API Guide for Developers

The document lists API methods for interacting with Facebook platform services. Some key methods include admin.getAllocation to get application allocation limits, auth.createToken to generate auth tokens, comments.add to add comments, events.create to create events, feed.publishUserAction to publish user actions, fql.query to run FQL queries, friends.get to get friends lists, groups.get to get groups, notifications.send to send notifications, pages.getInfo to get page information, photos.upload to upload photos, and profile.setInfo to set profile information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

API Methods

[Link]
Returns the current allocation limit for your application for the specified integration point.
[Link]
Returns values of properties for your applications from the Facebook Developer application.
[Link]
Returns specified metrics for your application, given a time period.
[Link]
Returns the demographic restrictions for the application.
[Link]
Sets values for properties for your applications in the Facebook Developer application.
[Link]
Sets the demographic restrictions for the application.
[Link]
Prevents users from accessing an application's canvas page and its forums.
[Link]
Unbans users previously banned with [Link].
[Link]
Returns the list of users who have been banned from the application.
[Link]
Returns public information about a given application (not necessarily your own).
[Link]
Creates an auth_token to be passed in as a parameter to [Link] and then to [Link] after
the user has logged in.
[Link]
Expires the session indicated in the API call, for your application.
[Link]
Returns the session key bound to an auth_token, as returned by [Link] or in the callback
URL.
[Link]
Returns a temporary session secret associated to the current existing session, for use in a client-side
component to an application.
[Link]
If this method is called for the logged in user, then no further API calls can be made on that user's
behalf until the user decides to authorize the application again.
[Link]
Removes a specific extended permission that a user explicitly granted to your application.
[Link]
Execute a list of individual API calls in a single batch.
[Link] (BETA)
Adds a comment for a given xid on behalf of a user. Calls with a session secret may only act on behalf
of the session user.
[Link]
Returns all comments for a given xid posted through fb:comments. This method is a wrapper for the
FQL query on the comment FQL table.
[Link] (BETA)
Removes a comment for a given xid by comment_id. Calls with a session secret may only act on
behalf of the session user.
[Link]
Returns the number of friends of the current user who have accounts on your site, but have not yet
connected their accounts. (for [{Facebook Connect]]).
[Link]
Creates an association between an existing user account on your site and that user's Facebook account,
provided the user has not connected accounts before (for Facebook Connect).
[Link]
Unregisters a previously registered account (using [Link]). You should call this method
if the user deletes his or her account on your site. (for Facebook Connect).
[Link] (BETA)
Returns all cookies for a given user and application.
[Link] (BETA)
Sets a cookie for a given user and application.
[Link]
Cancels an event. The application must be an admin of the event.
[Link]
Creates an event on behalf of the user if the application has an active session; otherwise it creates an
event on behalf of the application.
[Link]
Edits an existing event. The application must be an admin of the event.
[Link]
Returns all visible events according to the filters specified.
[Link]
Returns membership list data associated with an event.
[Link]
Sets the attendance option for the current user.
[Link]
Deletes one or more custom tags you previously registered for the calling application with
[Link].
[Link]
Returns the custom tag definitions for tags that were previously defined using
[Link].
[Link]
Fetches and re-caches the image stored at the given URL.
[Link]
Fetches and re-caches the content stored at the given URL.
[Link]
Registers custom tags you can include in your that applications' FBML markup. Custom tags consist of
FBML snippets that are rendered during parse time on the containing page that references the custom
tag.
[Link]
Associates a given "handle" with FBML markup so that the handle can be used within the fb:ref FBML
tag.
[Link]
Lets you insert text strings into the Facebook Translations database so they can be translated.
[Link]
Deactivates a previously registered template bundle.
[Link]
Retrieves information about a specified template bundle previously registered by the requesting
application.
[Link]
Retrieves the full list of all the template bundles registered by the requesting application.
[Link]
Publishes a Mini-Feed story to the Facebook Page corresponding to the page_actor_id parameter.
Note: This method is deprecated for actions taken by users only; it still works for actions taken by
Facebook Pages.
[Link]
Publishes a story on behalf of the user owning the session, using the specified template bundle.
[Link]
Builds a template bundle around the specified templates, registers them on Facebook, and responds
with a template bundle ID that can be used to identify your template bundle to other Feed-related API
calls.
[Link]
Evaluates an FQL (Facebook Query Language) query.
[Link]
Evaluates a series of FQL (Facebook Query Language) queries in one call and returns the data at one
time.
[Link]
Returns whether or not each pair of specified users is friends with each other.
[Link]
Returns the identifiers for the current user's Facebook friends.
[Link]
Returns the identifiers for the current user's Facebook friends who have authorized the specific calling
application.
[Link]
Returns the identifiers for the current user's Facebook friend lists.
[Link]
Returns the identifiers for the requested users' Mutual Facebook friends.
[Link]
Returns all visible groups according to the filters specified.
[Link]
Returns membership list data associated with a group.
[Link] (BETA)
Returns an array of strings from your application that you submitted for translation. This call returns
the original native strings, the best (or all) translations of native strings into a given locale, whether the
string has been approved, and by whom.
[Link] (BETA)
Returns all links the user has posted on their profile through your application.
[Link] (BETA)
Lets a user post a link on their Wall through your application.
[Link] (BETA)
Sends a "message" directly to a user's browser, which can be handled in FBJS.
[Link] (BETA)
Returns all of a user's messages and threads from the Inbox.
[Link] (BETA)
Lets a user write a Facebook note through your application.
[Link] (BETA)
Lets a user delete a Facebook note that was written through your application.
[Link] (BETA)
Lets a user edit a Facebook note through your application.
[Link] (BETA)
Returns a list of all of the visible notes written by the specified user.
[Link]
Returns information on outstanding Facebook notifications for current session user.
[Link] (BETA)
Returns all the current session user's notifications, as well as data for the applications that generated
those notifications.
[Link] (BETA)
Marks one or more notifications as read.
[Link]
Sends a notification to a set of users.
[Link]
Sends an email to the specified users who have the application.
[Link]
Returns all visible pages to the filters specified.
[Link]
Checks whether the logged-in user is the admin for a given Page.
[Link]
Checks whether the Page has added the application.
[Link]
Checks whether a user is a fan of a given Page.
[Link]
Adds a tag with the given information to a photo.
[Link]
Creates and returns a new album owned by the current session user.
[Link]
Returns all visible photos according to the filters specified.
[Link]
Returns metadata about all of the photo albums uploaded by the specified user.
[Link]
Returns the set of user tags on all photos specified.
[Link]
Uploads a photo owned by the current session user and returns the new photo.
[Link]
Gets the FBML that is currently set for a user's profile.
[Link]
Returns the specified user's application info section for the calling application.
[Link]
Returns the options associated with the specified field for an application info section.
[Link]
Sets the FBML for a user's profile, including the content for both the profile box and the profile
actions.
[Link]
Configures an application info section that the specified user can install on the Info tab of her profile.
[Link]
Specifies the objects for a field for an application info section.
[Link]
Determines whether a user has enabled SMS for the application. (Mobile applications only)
[Link]
Sends a given text message (SMS) to the user. (Mobile applications only)
[Link] (BETA)
Returns the user's current and most recent statuses.
[Link] (BETA)
Updates a user's Facebook status through your application. This is a streamlined version of
[Link].
[Link] (BETA)
This method adds a comment to a post that was already published to a user's Wall.
[Link] (BETA)
This method lets a user add a like to any post the user can see. A user can like each post only once.
[Link] (BETA)
This method returns an object (in JSON-encoded or XML format) that contains the stream from the
perspective of a specific viewer -- a user or a Facebook Page.
[Link] (BETA)
This method returns all comments associated with a post in a user's stream. This method returns
comments only if the user who owns the post (that is, the user published the post to his or her profile)
has authorized your application.
[Link] (BETA)
This method returns any filters a user has specified for his or her home page stream.
[Link] (BETA)
This method publishes a post into the stream on the user's Wall and News Feed. This post also appears
in the user's friends' streams (their News Feeds).
[Link] (BETA)
This method removes a post from a user's Wall. The post also gets removed from the user's and the
user's friends' News Feeds. Your application may only remove posts that were created through it.
[Link] (BETA)
This method removes a comment from a post.
[Link] (BETA)
This method removes a like a user added to a post.
[Link]
Returns a wide array of user-specific information for each user identifier passed, limited by the view of
the current user.
[Link]
Gets the user ID (uid) associated with the current session.
[Link]
Returns an array of user-specific information for use by the application itself.
[Link]
Checks whether the user has opted in to an extended application permission.
[Link]
Returns whether the user (either the session user or user specified by UID) has authorized the calling
application.
[Link] (BETA)
Returns whether the user is a verified Facebook user.
[Link]
Updates a user's Facebook status.
[Link] (BETA)
Returns the file size and length limits for a video that the current user can upload through your
application.
[Link]
Uploads a video owned by the current session user and returns the video.

Twitter API

Search API Methods 

search

trends

trends/current

trends/daily

trends/weekly 

REST API Methods 

Timeline Methods

statuses/public_timeline 

          statuses/home_timeline [COMING SOON]

statuses/friends_timeline

statuses/user_timeline 

statuses/mentions

          statuses/retweeted_by_me [COMING SOON]
          statuses/retweeted_to_me [COMING SOON]
          statuses/retweets_of_me [COMING SOON]
 

Status Methods

statuses/show

statuses/update

statuses/destroy  

          statuses/retweet [COMING SOON]
 

User Methods

users/show 

statuses/friends

statuses/followers

Direct Message Methods 

direct_messages

direct_messages/sent

direct_messages/new

direct_messages/destroy 

Friendship Methods

friendships/create

friendships/destroy 

friendships/exists

friendships/show 

Social Graph Methods

friends/ids   
followers/ids 

Account Methods

account/verify_credentials 

account/rate_limit_status

account/end_session

account/update_delivery_device 

account/update_profile_colors 

account/update_profile_image 

account/update_profile_background_image

account/update_profile 

Favorite Methods

favorites

favorites/create  

favorites/destroy 

Notification Methods

notifications/follow 

notifications/leave 

Block Methods

blocks/create  

blocks/destroy

blocks/exists
blocks/blocking

blocks/blocking/ids

Saved Searches Methods

saved_searches

saved_searches/show

saved_searches/create

saved_searches/destroy

OAuth Methods

oauth/request_token

oauth/authorize

oauth/authenticate

oauth/access_token

Help Methods

help/test

You might also like