FbApiWrapper - Documentation |
Page..::..PostPhoto Method (String, String, String) |
Page Class See Also Send Feedback |
Posts a photo 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 Post PostPhoto( string i_PictureFilePath, string i_Title = null, string i_Caption = null ) |
Visual Basic |
---|
Public Function PostPhoto ( _ i_PictureFilePath As String, _ Optional i_Title As String = Nothing, _ Optional i_Caption As String = Nothing _ ) As Post |
Visual C++ |
---|
public: Post^ PostPhoto( String^ i_PictureFilePath, String^ i_Title = nullptr, String^ i_Caption = nullptr ) |
Parameters
- i_PictureFilePath
- Type: System..::..String
[Missing <param name="i_PictureFilePath"/> documentation for "M:FacebookWrapper.ObjectModel.Page.PostPhoto(System.String,System.String,System.String)"]
- i_Title (Optional)
- Type: System..::..String
[Missing <param name="i_Title"/> documentation for "M:FacebookWrapper.ObjectModel.Page.PostPhoto(System.String,System.String,System.String)"]
- i_Caption (Optional)
- Type: System..::..String
[Missing <param name="i_Caption"/> documentation for "M:FacebookWrapper.ObjectModel.Page.PostPhoto(System.String,System.String,System.String)"]
Return Value
The newly created PostobjectRemarks
You can post photos to a user's Wall on their behalf by issuing an HTTP POST request to PAGE_ID/photos
.NET Framework Security
Permission | Description |
---|---|
publish_stream |