Skip to content

Instantly share code, notes, and snippets.

@SPopenko
SPopenko / CommentUI.m
Created September 20, 2011 14:12 — forked from FawadHa1der/CommentUI.m
SocializeSDK iOS Code Snippets part 2
//create a URL for your entity. This must be a unique URL but can return a 404
NSString *entityUrlString = @"http://www.example.com/object/1234";
// Allocate memory for the instance
SocializeCommentsTableViewController* commentsController = [[[SocializeCommentsTableViewController alloc] initWithNibName:@"SocializeCommentsTableViewController" bundle:nil entryUrlString:entityUrlString] autorelease];
[self.navigationController pushViewController:commentsController animated:YES];
@SPopenko
SPopenko / Authentication.m
Created September 20, 2011 14:11 — forked from FawadHa1der/Authentication.m
SocializeSDK iOS Code Snippets
#import <Socialize-iOS/Socialize.h>
// invoke the call
[socialize authenticateWithApiKey:@"YourApiKey" apiSecret:@"YourApiSecret"];
#pragma mark SocializeServiceDelegate implementation
// implement the delegate
-(void)didAuthenticate:(id<SocializeUser>)user {
NSLog(@"Authenticated");
}