简体   繁体   中英

Windows Phone integration with social networks

I'm writing simple application for Windows Phone 8, and I want to implement sharing in socials (Twitter and Facebook). But there is a problem: third-party libraries don't work with Portable Class library for Windows Phone. But if I use REST API, I need to interact with the WebBrowser element. Is there a way to authorize and post messages without WebBrowser ?

It is not quite clear what you mean exactly but to share a status on Facebook or Twitter you can use the ShareStatusTask

using Microsoft.Phone.Tasks;

ShareStatusTask shareStatusTask = new ShareStatusTask();
shareStatusTask.Status = "I'm developing a Windows Phone application!";
shareStatusTask.Show();

Have a look here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM