Social is a native extension that allows the use of  iOS Social, Accounts, MessageUI, and Twitter frameworks. The exnteion includes new iOS 6.0 features such as the convenient activity sheets.

Using the extension, it is possible to post messages to Facebook, Twitter, and Weibo from your app. It is also possible to send emails and SMS. If you need to request something specific in the Twitter or Facebook API, you can use the low-level API, which comes with 50+ classes and 300+ methods.

Sample

var supported:Boolean = Social.isSupported;
social.addEventListener(Social.SHARE_COMPLETED_EVENT, function(e:ShareCompletedEvent):void {
    trace("share event type: " + e.activityType + " completed: " + e.completed);
});

// share an array of strings and BitmapData objects
social.share(["The best ANEs!", "https://airextensions.net", bitmapData]);

social.addEventListener(Social.POST_COMPLETED_EVENT, function(e:PostCompletedEvent):void {
    trace("post event completed: " + e.completed);
});

// post to Facebook
social.post(SLRequest.SLServiceTypeFacebook, "The best games!", bitmapData, "http://vitapoly.com");

// post to Twitter with just a message
social.post(SLRequest.SLServiceTypeTwitter, "Tweet tweet.", null, null);

social.addEventListener(Social.MAIL_COMPLETED_EVENT, function(e:MailCompletedEvent):void {
    trace("mail event result: " + e.result);
});

social.mail(["support@airextensions.net"], "ANEs", "I love your ANEs!", false, bitmapData);

social.addEventListener(Social.SMS_COMPLETED_EVENT, function(e:SMSCompletedEvent):void {
    trace("SMS event result: " + e.result);
});

social.sms(["15555555555"], "Hello");

var twitter:Twitter = new Twitter();

// get a list of tweets
twitter.getTweets(function(obj:Object):void {
    trace("tweets: " + JSON.stringify(obj));
});

// update status
twitter.update("@vitapoly I am using vitapoly's awesome Social ANE.", function(obj:Object):void {
    trace("update: " + JSON.stringify(obj));
});

// you can also query twitter directly if a functionality is not built-in to the Twitter class
// get a list of suggested users
// supply a callback function with more arguments
twitter.getFromURL("https://api.twitter.com/1.1/users/suggestions.json",
    function(obj:Object, urlResponse:NSHTTPURLResponse, error:NSError):void {
        trace("suggested users: " + JSON.stringify(obj));
    }
);

var facebook:Facebook = new Facebook();

// init facebook with your app ID and an array of permissions
facebook.init("1234567890", ["read_stream", "email", "publish_stream"]);

// get the user's feed
facebook.getFeed(function(obj:Object):void {
    trace("feed: " + JSON.stringify(obj));
});

// get the user's friends
facebook.getFriends(function(obj:Object):void {
    trace("friends: " + JSON.stringify(obj));
});

// post a link
facebook.postLink(
    "You can find the best Adobe Air Native Extensions at airextensions.net!",
    "https://airextensions.net",
    function(obj:Object):void {
        trace("post: " + JSON.stringify(obj));
    }
);

// you can also query the Facebook Graph API directly if a functionality is not built-in to the Facebook class
// get info about vitapoly
// supply a callback function with more arguments
facebook.getFromURL("https://graph.facebook.com/vitapoly",
    function(obj:Object, urlResponse:NSHTTPURLResponse, error:NSError):void {
        trace("vitapoly: " + JSON.stringify(obj));
    }
);
Air Native Extension, iOS . URL.