Inherits from NSObject
Declared in NetmeraFacebookUtils.h
NetmeraFacebookUtils.m

Overview

NetmeraFacebookUtils object uses Facebook account for user operations.

Tasks

Other Methods

Other Methods

Class Methods

logInInBackgroundWithTarget:selector:

Logs a user into the registered application with Facebook account without Facebook permissions.

+ (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 Facebook account without Facebook permissions.

Declared In

NetmeraFacebookUtils.h

logInInBackgroundWithTarget:selector:withFacebookAppId:

Logs a user into the registered application with Facebook account without Facebook permissions.

+ (void)logInInBackgroundWithTarget:(id)target selector:(SEL)selector withFacebookAppId:(NSString *)appId

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

appId

Your Facebook App ID

Discussion

Logs a user into the registered application with Facebook account without Facebook permissions.

Declared In

NetmeraFacebookUtils.h

logInInBackgroundWithTarget:selector:withPermissions:

Logs a user into the registered application with Facebook account wit Facebook permissions.

+ (void)logInInBackgroundWithTarget:(id)target selector:(SEL)selector withPermissions:(NSArray *)permissions

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

permissions

Permission array that you want to reach user details from his/her facebook account

Discussion

Logs a user into the registered application with Facebook account wit Facebook permissions.

Declared In

NetmeraFacebookUtils.h

logInInBackgroundWithTarget:selector:withPermissions:withFacebookAppId:

Logs a user into the registered application with Facebook account with Facebook permissions.

+ (void)logInInBackgroundWithTarget:(id)target selector:(SEL)selector withPermissions:(NSArray *)permissions withFacebookAppId:(NSString *)appId

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

permissions

Permission array that you want to reach user details from his/her facebook account

appId

Your Facebook App ID

Discussion

Logs a user into the registered application with Facebook account with Facebook permissions.

Declared In

NetmeraFacebookUtils.h

logInWithBlock:

Logs a user into the registered application with Facebook account without Facebook permissions.

+ (void)logInWithBlock:(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 Facebook account without Facebook permissions.

Declared In

NetmeraFacebookUtils.h

logInWithFacebookAppId:withBlock:

Logs a user into the registered application with Facebook account without Facebook permissions.

+ (void)logInWithFacebookAppId:(NSString *)appId withBlock:(void ( ^ ) ( NetmeraUser *user , NSError *error ))block

Parameters

appId

Your Facebook App ID

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 Facebook account without Facebook permissions.

Declared In

NetmeraFacebookUtils.h

logInWithPermissions:withBlock:

Logs a user into the registered application with Facebook account wit Facebook permissions.

+ (void)logInWithPermissions:(NSArray *)permissions withBlock:(void ( ^ ) ( NetmeraUser *user , NSError *error ))block

Parameters

permissions

Permission array that you want to reach user details from his/her facebook account

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 Facebook account wit Facebook permissions.

Declared In

NetmeraFacebookUtils.h

logInWithPermissions:withFacebookAppId:withBlock:

Logs a user into the registered application with Facebook account with Facebook permissions.

+ (void)logInWithPermissions:(NSArray *)permissions withFacebookAppId:(NSString *)appId withBlock:(void ( ^ ) ( NetmeraUser *user , NSError *error ))block

Parameters

permissions

Permission array that you want to reach user details from his/her facebook account

appId

Your Facebook App ID

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 Facebook account with Facebook permissions.

Declared In

NetmeraFacebookUtils.h

logOut

Facebook user logged out from the application.

+ (void)logOut

Discussion

Facebook user logged out from the application.

Declared In

NetmeraFacebookUtils.h

populateUserDetails:withTarget:

/

+ (void)populateUserDetails:(void ( ^ ) ( NetmeraUser *user , NSError *error ))block withTarget:(id)target

Discussion

/

Declared In

NetmeraFacebookUtils.m

setFacebookAppId:

Set your Facebook App ID in the app delegate to Netmera

+ (void)setFacebookAppId:(NSString *)appId

Discussion

Set your Facebook App ID in the app delegate to Netmera

Declared In

NetmeraFacebookUtils.h