ios - Facebook Integration v4.0 Not Working for iPhone App -


i'm starter in iphone application development. i'd implement 'login facebook' using own customized ui.

i've tried steps provided in getting started fb integration

i've tried implement login using fbsdkloginmanager forwhich suits custom ui.

i've added things needed fb integration. added necessary things in .plist file.

my app running , goes browser , asks login. when provide credentials, asks profile access permission.

upto this, won't error. when grant access request, got response "safari cannot open page. because address invalid" in ios simulator , empty blank space in fb app in ipad.

i won't control transfer application. i've searched issue , won't proper response.

can assist me out of issue?

i'm using latest facebooksdk v4.

i'll provide .plist file , snapshots.

in appdelegate.m

- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions {      return [[fbsdkapplicationdelegate sharedinstance] application:application                                     didfinishlaunchingwithoptions:launchoptions]; }   - (void)applicationdidbecomeactive:(uiapplication *)application {      [fbsdkappevents activateapp];  }   - (bool)application:(uiapplication *)application openurl:(nsurl *)url sourceapplication:(nsstring *)sourceapplication annotation:(id)annotation {      return [[fbsdkapplicationdelegate sharedinstance] application:application                                                           openurl:url                                                 sourceapplication:sourceapplication                                                        annotation:annotation]; } 

.plist file snapshot:

info.plist file snapshot

so kindly out of issue.. or give me proper steps implement fb login

thanks in advance.

i suggest go through these steps, had issues new facebook sdk well, after double checking setup process again managed make work :

  1. make sure have app created , listed @ facebook applications

  2. if that's case, make sure bundle id added @ facebook developers page app , matches 1 have inside project

  3. make sure app either public, or account trying log in listed in roles page facebook application @ https://developers.facebook.com/apps/appid/roles/

  4. make sure implement fbsdkloginbuttondelegate if you're using native facebook login button , delegate methods, load class in delegate , setting permissions, or implement fbsdkloginmanager, see it's case.

  5. what had problems with, see did not skipped, having juicy stuff implemented in application delegate, skipped, since jumped directly @ login implementation tutorial.

  6. also critical 3 (3) values need add in info.plist facebook app id, facebook display scheme , url schemes, can see covered well.

i suggest going again through first 3 steps mentioned. (or one) seem root of problem. or not.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -