Asmaa El Shabaka
Asmaa El Shabaka

Reputation: 113

sharing on facebook using emulator

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();


    }  

Upvotes: 0

Views: 356

Answers (1)

Mohamed Thaufeeq
Mohamed Thaufeeq

Reputation: 1677

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.

Upvotes: 1

Related Questions