Windows Phone 8.0 Facebook/Twitter/Google + Sharing?

67 Views Asked by At

How to share image on facebook , twitter and google + using windows phone 8.0(silverlight) app development?

2

There are 2 best solutions below

2
On

Try this code, it will definitely help you

using Microsoft.Phone.Tasks;
cameraCaptureTask.Show();

       void cameraCaptureTask_Completed(object sender, PhotoResult e)
       {
            if(e.TaskResult == TaskResult.OK)
           {
               ShowShareMediaTask(e.OriginalFileName);
           }
       }
       void ShowShareMediaTask(string path)
       {
           ShareMediaTask shareMediaTask = new ShareMediaTask();
           shareMediaTask.FilePath = path;
           shareMediaTask.Show();
       }

Take the help of the following link for further reference: https://msdn.microsoft.com/en-us/library/windows/apps/jj207027%28v=vs.105%29.aspx

0
On