Posting a Status Update to Social Networks Using the ShareStatusTask
The share status task is used to enable the user to post a status update to one or more social networks. The ShareStatusTask
contains a single Status
property of type string. When the Show
method is called, the ShareStatusTask
presents the built-in message sharing app. See the following excerpt:
ShareStatusTask task = new ShareStatusTask();task.Status = "I'm loving the new features of the Windows Phone API!";task.Show();
The sample for the ShareStatusTask
is a page called ShareStatusTaskView
, which allows the user to enter some text and to launch the ShareLinkTask
via an application bar button.
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.