







Posts a Status text on behalf of the loggedin user to this user'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, string i_PrivacyParameterValue = null ) |
Visual Basic |
---|
Public Function PostStatus ( _ i_StatusText As String, _ Optional i_PrivacyParameterValue As String = Nothing _ ) As Status |
Visual C++ |
---|
public: Status^ PostStatus( String^ i_StatusText, String^ i_PrivacyParameterValue = nullptr ) |
Parameters
- i_StatusText
- Type: System..::..String
The status text
- i_PrivacyParameterValue (Optional)
- Type: System..::..String
a string representing the privacy parameter value.Must be in the "{'value': 'CUSTOM|EVERYONE|SELF|ALL_FRIENDS|FRIEND_OF_FRIENDS', 'allow': '{friend-list-id1},{friend-list-id2},{friend-id1},{friend-id2}', 'deny': 'friend-list-id1,friend-list-id2,friend-id1,friend-id2'}
NOTE: allow/deny lists are only allowed when 'value' is set top 'CUSTOM'
described here: https://developers.facebook.com/docs/reference/api/privacy-parameter
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 PROFILE_ID/feed
.NET Framework Security
Permission | Description |
---|---|
publish_stream |