Skip to content
Social Framework Addon for openFrameworks iOS
Objective-C++ Objective-C C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Social Framework Integration into openFrameworks on iOS


  1. Use project generator or copy ofxiPhoneSocial.h and into your project.
  2. Add Social.framework to Linked Frameworks and Libraries in your Xcode project.
  3. Add NSPhotoLibraryUsageDescription to the plist file.


You can post directly to Facebook or Twitter. You can also choose from a menu of available services (email, weibo, twitter, etc).

There are three basic functions:

postToFacebook(text, image) postToTwitter(text, image) share(text, image)

Each function is overloaded so you don't have to include an image. You can also share the image via a filename, ofImage or UIImage.

Last but not least, if you want to change what's shown on the share menu, uncomment the follow line in ofxiPhoneSocial.h

activityController.excludedActivityTypes = @[UIActivityTypePostToWeibo, UIActivityTypeAssignToContact, UIActivityTypeCopyToPasteboard];

Autocomplete will help you but you can also view documentation at

Bitdeli Badge

You can’t perform that action at this time.