Skip to content

Instantly share code, notes, and snippets.

View FawadHa1der's full-sized avatar

Fawad Haider FawadHa1der

View GitHub Profile
@FawadHa1der
FawadHa1der / CommentUI.m
Created September 8, 2011 21:20
SocializeSDK iOS Code Snippets part 2
// Allocate memory for the instance
SocializeCommentsTableViewController* commentsController = [[[SocializeCommentsTableViewController alloc] initWithNibName:@"SocializeCommentsTableViewController" bundle:nil entryUrlString:entityUrlString] autorelease];
[self.navigationController pushViewController:commentsController animated:YES];
@FawadHa1der
FawadHa1der / Authentication.m
Created September 8, 2011 19:53
SocializeSDK iOS Code Snippets
// invoke the call
[socialize authenticateWithApiKey:@"YourApiKey" apiSecret:@"YourApiSecret"];
#pragma mark SocializeServiceDelegate implementation
// implement the delegate
-(void)didAuthenticate{
NSLog(@"Authenticated");
}
// if the authentication fails the following method is called