NetmeraTwitterUtils Class Reference
| Inherits from | NSObject |
| Conforms to | SA_OAuthTwitterControllerDelegate |
| Declared in | NetmeraTwitterUtils.h NetmeraTwitterUtils.m |
Tasks
-
– 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/
-
– logInInBackgroundWithTarget:selector:Logs a user into the registered application with Twitter account.
-
– logInInBackgroundWithViewController:withBlock:Logs a user into the registered application with Twitter account.
-
+ logOutTwitter user logged out from the application.
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 *)consumerSecretParameters
- 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.hlogInInBackgroundWithTarget:selector:
Logs a user into the registered application with Twitter account.
- (void)logInInBackgroundWithTarget:(id)target selector:(SEL)selectorParameters
- 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.hlogInInBackgroundWithViewController:withBlock:
Logs a user into the registered application with Twitter account.
- (void)logInInBackgroundWithViewController:(UIViewController *)rootViewController withBlock:(void ( ^ ) ( NetmeraUser *user , NSError *error ))blockParameters
- 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