Facebook
Posting a link
// Initialize a new instance of FacebookService based on the specified user access token
FacebookService service = FacebookService.CreateFromAccessToken(accessToken);
// Post the link to the API
FacebookPostLinkResponse response = service.Links.PostLink(new FacebookPostLinkOptions {
Link = "http://skybrud.dk/",
Message = "Måske bare lige en lidt længere tekst eller noget",
Description = "Bare lige en hurtig tekst",
Name = "Skybrud.dk",
Caption = "omg bacon"
});
// Get the ID of the created link
string postId = response.Body.Id;