Click here to Skip to main content
15,793,452 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am working on a metro app and want to share something on Facebook and twitter. But in metro sharing their is source and target app concept. Source app is mine but how should I get Facebook and twitter as target app.

You can use the Twitter and Facebook APIs.
Twitter API 1[^]
Twitter APIs List[^]
Facebook API Usage[^]

Marco Alessandro Bertschi
Share this answer
In Windows 8, all you need to do is Share the content as a Share Source. This lets the user choose which app they want to Share your content with, as the Target. Maybe they don't want to use the default Twitter client, they'd rather use Tweetro. This mechanism lets them do that, while also keeping your app forwards-compatible with other apps and networks that haven't even been invented yet.

I wrote an article on how to do this here:
Share this answer
I think this link will help you for Facebook connectivity[^]

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900