您的当前位置:首页正文

facebook api

2024-02-21 来源:客趣旅游网
API Methods

auth.createToken

Creates an autj_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. events.get

Returns all visible eventsaccording 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 “hangdle” 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

Pubilshes a Mini-Feed story to user or Page corresponding to the 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 of the current user’s Facebood friends. friends.getAppUsers

Returns the identifiers of the current user’s Facebood friends who are signed up for the specific calling application. groups.get

Returns all visible groups according to the filters specified. groups.getMembers

Returns membership list data associated with a group. marketplace.createListing

Create or modify a listing in Marketplace.

marketplace.getCategories

Returns all the Marketplace categories. marketlpace.getListings

Return all Marketplace either by listing 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.sendEmail

Sends a 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 bu 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 tat 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.

因篇幅问题不能全部显示,请点此查看更多更全内容