简体   繁体   中英

Facebook SDK for Mono for Android

Can any one guide me how to integrate FB sdk for Mono platform for android in C#. I've tried implementing from some sample JAVA codes which are available but have not got any success. I would appreciate if some one can guide me step by step instructions to follow and sample code for Mono for android platform for the same.

Here is something to look at:

Facebook Connect bindings for MonoDroid

And then there is :

Facebook.MonoTouch

I would suggest looking at the Facebook.MonoTouch first.

Or you could try using share intents:

public void share(String subject,String text) 
{
    Intent intent = new Intent(Intent.ActionSend);

    intent.Type = "text/plain";
    intent.PutExtra(Intent.ExtraSubject, subject);
    intent.PutExtra(Intent.ExtraText, text);

    StartActivity(Intent.CreateChooser(intent, GetString(R.string.share)));
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM