Posts a photo 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 Post PostPhoto( byte[] i_PhotoData, string i_Title = null, string i_Caption = null, string i_FileName = "photo.jpg" ) |
Visual Basic |
---|
Public Function PostPhoto ( _ i_PhotoData As Byte(), _ Optional i_Title As String = Nothing, _ Optional i_Caption As String = Nothing, _ Optional i_FileName As String = "photo.jpg" _ ) As Post |
Visual C++ |
---|
public: Post^ PostPhoto( array<unsigned char>^ i_PhotoData, String^ i_Title = nullptr, String^ i_Caption = nullptr, String^ i_FileName = L"photo.jpg" ) |
Parameters
- i_PhotoData
- Type: array<System..::..Byte>[]()[][]
an array pf bytes contanining the photo data
- i_Title (Optional)
- Type: System..::..String
[Missing <param name="i_Title"/> documentation for "M:FacebookWrapper.ObjectModel.Group.PostPhoto(System.Byte[],System.String,System.String,System.String)"]
- i_Caption (Optional)
- Type: System..::..String
[Missing <param name="i_Caption"/> documentation for "M:FacebookWrapper.ObjectModel.Group.PostPhoto(System.Byte[],System.String,System.String,System.String)"]
- i_FileName (Optional)
- Type: System..::..String
[Missing <param name="i_FileName"/> documentation for "M:FacebookWrapper.ObjectModel.Group.PostPhoto(System.Byte[],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 PROFILE_ID/photos
.NET Framework Security
Permission | Description |
---|---|
publish_stream |