MonoGame iOS Social Networking

This code is used in JMA’s mobile game software. Here is some code to integrate Facebook, Google Plus, and the Game Center into your app:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonoTouch.UIKit;
using MonoTouch.Foundation;


namespace GemFinder.Manager
{
    class SocialManager
    {
        public static void OpenFacebook()
        {
            UIApplication.SharedApplication.OpenUrl(new NSUrl("http://www.facebook.com/gemfindermt")); 
        }

        public static void OpenGameCenter()
        {
            UIApplication.SharedApplication.OpenUrl(new NSUrl("gamecenter:"));
        }

        public static void OpenGooglePlus()
        {
            UIApplication.SharedApplication.OpenUrl(new NSUrl( "https://plus.google.com/112776757794576690978/posts"));
        }
    }
}
Posted: 7/30/2012 9:17:27 AM