Skip to content

Instantly share code, notes, and snippets.

@imosquera
Forked from nwg/gist:1294278
Created November 18, 2011 02:57
Show Gist options
  • Save imosquera/1375443 to your computer and use it in GitHub Desktop.
Save imosquera/1375443 to your computer and use it in GitHub Desktop.
#import <Socialize/Socialize.h>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
//set the FB App Id, you can find your FB app Id here: https://developers.facebook.com/apps
[Socialize storeFacebookAppId:@"YOUR FB APP ID"];
//set your app url. You can find your app id from the appstore. Socialize uses this app url to advertise
//your app when sharing to social networks like facebook and twitter
[Socialize storeApplicationLink:@"http://itunes.apple.com/us/app/yourappname/id012345689"];
//your extra code goes here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment