sharing on facebook using emulator

0

hiiii all I want is to share data on facebook from my app but without device and I know that I can do that but I should add email from settings of the emulator when I log in to yahoo mail it is works well but when I try to log in hotmail mail problem sinning in appeared with code 0x8000ffff!

all what I want is to share data from my app using the emulator because I do not have device

    private void facebook_share_Click_1(object sender, EventArgs e)
    {

        //ShareLinkTask shareLinkTask = new ShareLinkTask();

        //shareLinkTask.Title = "Code Samples";
        //shareLinkTask.LinkUri = new Uri("https://www.facebook.com/", UriKind.Absolute);
        //shareLinkTask.Message = "Here are some great code samples for Windows Phone.";

        //shareLinkTask.Show();

        //ShareStatusTask sst = new ShareStatusTask();
        //sst.Status = "hello test";
        //sst.Show();
        ShareStatusTask shareStatusTask = new ShareStatusTask();
        shareStatusTask.Status = "Current Status: Developing WP8 apps.";
        shareStatusTask.Show();


    }  
windows-phone-8
emulation
asked on Stack Overflow Nov 11, 2013 by Asmaa El Shabaka • edited Dec 12, 2015 by Josh Crozier

1 Answer

1

Since, there is no active account in The Windows Phone Emulator, you cannot check whether it is working or not.

You need to have the real device to check whether ShareStatusTask is working or not. The task will work fine once the app is installed on a real device.

answered on Stack Overflow Nov 11, 2013 by Mohamed Thaufeeq

User contributions licensed under CC BY-SA 3.0