Just like with Facebook, sharing statuses on Twitter from Windows Phone app can be simply accomplished using ShareStatusTask launcher. A more complicated scenario is when you want to share a photo on Twitter. In order to do that, you first need to authenticate the user from your app to allow your app to communicate with Twitter and then to upload photos. This article will show you how to do the authentication part.
Sharing photos on Facebook from your Windows Phone app is one of the scenarios for which you need Facebook inside your app. In my last article, I wrote about the first step of creating a Facebook enabled app, which is authentication. After the user is successfully authenticated, you can start doing things like sharing and uploading photos. This article will show you the simplest way to do it!
To share statuses on Facebook from your Windows Phone app, all you have to do is use a launcher called ShareStatusTask, and the system takes care of the rest (in case your phone is connected to social networks where you’d like to share). In cases other than simple statuses or links (for example, photos), you need to take care of connecting your app to Facebook yourself. This would be a tricky thing if you had to write all the code yourself, but luckily there’s a library called Facebook C# SDK that handles much of the trouble for you. Still, you need to write some code and authorize your app to access someone’s Facebook, and this article is all about that.