PostStatus Method

Facebook API Wrapper

Collapse image Expand Image Copy image CopyHover image
Posts a Status text on behalf of the loggedin user to this page's wall

Namespace: FacebookWrapper.ObjectModel
Assembly: FbGraphApiWrapper (in FbGraphApiWrapper.dll) Version: 6.2.1.2 (6.2.1.2)

Syntax

C#
public Status PostStatus(
	string i_StatusText
)
Visual Basic
Public Function PostStatus ( _
	i_StatusText As String _
) As Status
Visual C++
public:
Status^ PostStatus(
	String^ i_StatusText
)

Parameters

i_StatusText
Type: System..::..String
The status text

Return Value

The newly created Statusobject

Remarks

You can post a status message on behalf of the user by issuing an HTTP POST request to PAGE_ID/feed To impersonate the Page when posting to the wall (i.e. post as the Page, and not the current user), you must use a Page access_token with the manage_pages and publish_stream permissions, as described under Page Access Tokens above.

.NET Framework Security

Permission Description
publish_stream

See Also