PostLink Method

Facebook API Wrapper

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

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 PAGE_ID/feed

.NET Framework Security

Permission Description
publish_stream, manage_pages

See Also