Retrieving a WebPage Title & Sharing it with the ShareLinkTask in WP7

added by mbcrump
1/9/2012 9:13:40 AM

0 Kicks, 60 Views

Introduction The ShareLinkTask introduced in Windows Phone SDK 7.1 enables users to share a link on various social networks like Twitter, Facebook and LinkedIn. The only thing that I wish that it had was a way to grab the page title for the link before posting. I found myself typing the page title and thought I’d write some simple code and share with everyone. Below is a snapshot of a post to Facebook that automatically added the page title to the post.