FbApiWrapper - Documentation |
User..::..PostPhoto Method (String, String, String, String) |
User Class See Also Send Feedback |
Namespace: FacebookWrapper.ObjectModel
Assembly: FbGraphApiWrapper (in FbGraphApiWrapper.dll) Version: 6.2.1.2 (6.2.1.2)
Syntax
C# |
---|
public Post PostPhoto( string i_PictureFilePath, string i_Title = null, string i_Caption = null, string i_PrivacyParameterValue = null ) |
Visual Basic |
---|
Public Function PostPhoto ( _ i_PictureFilePath As String, _ Optional i_Title As String = Nothing, _ Optional i_Caption As String = Nothing, _ Optional i_PrivacyParameterValue As String = Nothing _ ) As Post |
Visual C++ |
---|
public: Post^ PostPhoto( String^ i_PictureFilePath, String^ i_Title = nullptr, String^ i_Caption = nullptr, String^ i_PrivacyParameterValue = nullptr ) |
Parameters
- i_PictureFilePath
- Type: System..::..String
[Missing <param name="i_PictureFilePath"/> documentation for "M:FacebookWrapper.ObjectModel.User.PostPhoto(System.String,System.String,System.String,System.String)"]
- i_Title (Optional)
- Type: System..::..String
[Missing <param name="i_Title"/> documentation for "M:FacebookWrapper.ObjectModel.User.PostPhoto(System.String,System.String,System.String,System.String)"]
- i_Caption (Optional)
- Type: System..::..String
[Missing <param name="i_Caption"/> documentation for "M:FacebookWrapper.ObjectModel.User.PostPhoto(System.String,System.String,System.String,System.String)"]
- 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 PostobjectRemarks
.NET Framework Security
Permission | Description |
---|---|
publish_stream |