Graph:Status message

From Facebook Developer Wiki (FbDevWiki.com)
Jump to: navigation, search

A status message on a user's wall

Contents

Example

https://graph.facebook.com/367501354973 (A status message from Bret Taylor)

Properties

Name Description Permissions Returns Condition
id The status message ID Publicly available to everyone on Facebook by default A JSON string
from The user who posted the message Publicly available to everyone on Facebook by default A JSON object containing id and name fields
message The status message content Publicly available to everyone on Facebook by default A JSON string
place place associated with photo (if available) A JSON object containing id and name of Page associated with this location, and a location field containing geographic information such as latitude, longitude, country, and other fields (fields will vary based on geography and availability of information)
updated_time The time the message was published Publicly available to everyone on Facebook by default A JSON string containing a IETF RFC 3339 datetime

Connections

Name Description Permissions Returns
comments All of the comments on this message Publicly available to everyone on Facebook by default An array of JSON objects containing id, from, message and created_time fields
likes The users that have liked this message Publicly available to everyone on Facebook by default An array of JSON objects containing id and name


Publishing

Requires the publish_stream permission.

To publish a status update, POST the message field to the feed/wall of the user whose status you want to update, i.e., http://graph.facebook.com/USER_ID/feed.

curl -F 'access_token=...' \
     -F 'message=This is my status update' \
     https://graph.facebook.com/me/feed
Personal tools
Namespaces
Variants
Actions
Navigation
Graph API
FQL
Toolbox