Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Facebook - Sharing something

$
0
0

Hello,

I have an issue with my app.
I want to share something on facebook but I don't know how to do it with xamarin.auth.
I think I have to use this sample, but I don't know how to change it to do what I want :

var request = new OAuth2Request ("GET", new Uri ("https://graph.facebook.com/me"), null, eventArgs.Account);
request.GetResponseAsync().ContinueWith (t => {
    if (t.IsFaulted)
        Console.WriteLine ("Error: " + t.Exception.InnerException.Message);
    else {
        string json = t.Result.GetResponseText();
        Console.WriteLine (json);
    }
})

If somebody know I do it, it would be cool.


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>