NOTE: It appears that the profile expression SDK is no longer supported, so this project won't function properly.
This project is an open source alternative to Facebook's Profile Expression Kit, which doesn't seem to be available on their developer portal anymore. It allows you to launch the Facebook app and prompt the user to set their profile photo or video to content from your app.
- Configure the Facebook Core iOS SDK in your app. (Most importantly for TJFacebookProfileExpression, add your app's Facebook identifier as
FacebookAppID
to your info plist). - Add
fb-profile-expression-platform
to your info plist'sLSApplicationQueriesSchemes
array. - Include the
TJFacebookProfileExpressionController
.h
and.m
files in your project and importTJFacebookProfileExpressionController.h
wherever you need.
- Call
+canSetProfile
to see if the user's Facebook profile can be set. - Call
+setProfileImage:
or+setProfileImageData:
to set the user's profile photo. - Call
+setProfileVideo:
to set the user's profile video.