Inherits from NSObject
Conforms to SA_OAuthTwitterControllerDelegate
Declared in NetmeraTwitterUtils.h
NetmeraTwitterUtils.m

Overview

NetmeraTwitterUtils object uses Twitter account for user operations.

Tasks

Class Methods

logOut

Twitter user logged out from the application.

+ (void)logOut

Discussion

Twitter user logged out from the application.

Declared In

NetmeraTwitterUtils.h

Instance Methods

initWithTwitterConsumerKey:andTwitterConsumerSecret:

Creates NetmeraTwitterUtils to call login and logOut methods. Netmera prefers to use IOS5 twitter sdk or MGTwitterEngine framework for older versions of IOS5. You can check MGTwitterEngine guide from http://www.icodeblog.com/2010/09/16/dealing-with-the-twitter-oauth-apocalypse/

- (NetmeraTwitterUtils *)initWithTwitterConsumerKey:(NSString *)consumerKey andTwitterConsumerSecret:(NSString *)consumerSecret

Parameters

consumerKey

You Twitter App key. Leave it nil if your target is IOS5 or newer

consumerSecret

You Twitter App secret. Leave it nil if your target is IOS5 or newer

Discussion

Creates NetmeraTwitterUtils to call login and logOut methods. Netmera prefers to use IOS5 twitter sdk or MGTwitterEngine framework for older versions of IOS5. You can check MGTwitterEngine guide from http://www.icodeblog.com/2010/09/16/dealing-with-the-twitter-oauth-apocalypse/

Declared In

NetmeraTwitterUtils.h

logInInBackgroundWithTarget:selector:

Logs a user into the registered application with Twitter account.

- (void)logInInBackgroundWithTarget:(id)target selector:(SEL)selector

Parameters

target

The object to call selector on.

selector

The selector to call. It should have the following signature: (void) callBackRegisterWithNetmeraUser:(NetmeraUser )user error:(NSError )error

Discussion

Logs a user into the registered application with Twitter account.

Declared In

NetmeraTwitterUtils.h

logInInBackgroundWithViewController:withBlock:

Logs a user into the registered application with Twitter account.

- (void)logInInBackgroundWithViewController:(UIViewController *)rootViewController withBlock:(void ( ^ ) ( NetmeraUser *user , NSError *error ))block

Parameters

block

The block to execute. The block should have the following argument signature: (NetmeraUser user, NSError error)

Discussion

Logs a user into the registered application with Twitter account.

Declared In

NetmeraTwitterUtils.h