PostLink Method

Facebook API Wrapper

Collapse image Expand Image Copy image CopyHover image
Posts a link 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 PostLink(
	string i_Url,
	string i_Message = null,
	string i_ThumbPicUrl = null,
	string i_LinkName = null,
	string i_Caption = null,
	string i_Description = null
)
Visual Basic
Public Function PostLink ( _
	i_Url As String, _
	Optional i_Message As String = Nothing, _
	Optional i_ThumbPicUrl As String = Nothing, _
	Optional i_LinkName As String = Nothing, _
	Optional i_Caption As String = Nothing, _
	Optional i_Description As String = Nothing _
) As Post
Visual C++
public:
Post^ PostLink(
	String^ i_Url, 
	String^ i_Message = nullptr, 
	String^ i_ThumbPicUrl = nullptr, 
	String^ i_LinkName = nullptr, 
	String^ i_Caption = nullptr, 
	String^ i_Description = nullptr
)

Parameters

i_Url
Type: System..::..String
The url of the link to post
i_Message (Optional)
Type: System..::..String
A message to write on the post (optional)
i_ThumbPicUrl (Optional)
Type: System..::..String

[Missing <param name="i_ThumbPicUrl"/> documentation for "M:FacebookWrapper.ObjectModel.Group.PostLink(System.String,System.String,System.String,System.String,System.String,System.String)"]

i_LinkName (Optional)
Type: System..::..String

[Missing <param name="i_LinkName"/> documentation for "M:FacebookWrapper.ObjectModel.Group.PostLink(System.String,System.String,System.String,System.String,System.String,System.String)"]

i_Caption (Optional)
Type: System..::..String

[Missing <param name="i_Caption"/> documentation for "M:FacebookWrapper.ObjectModel.Group.PostLink(System.String,System.String,System.String,System.String,System.String,System.String)"]

i_Description (Optional)
Type: System..::..String

[Missing <param name="i_Description"/> documentation for "M:FacebookWrapper.ObjectModel.Group.PostLink(System.String,System.String,System.String,System.String,System.String,System.String)"]

Return Value

The newly created Linkobject

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

See Also