0

Lot of confusion understanding when I googled and studied tutorials like Getting Started with the Facebook SDK for iOS ,Legacy iOS Tutorial etc.I have downloaded the FacebookSDK-3.0 as I use Xcode version of 4.2,added the sdk framework to my xcode project,then followed every step of integrating Facebook sdk in to iphone application like Facebook app id,modifying plist file,adding other linker flag etc. strictly following this link.I have included the "friends_about_me,friends_birthday" permissions to my application as shown in the below screen shot:

enter image description here

EDIT

I have already implemented the login part successfully

But my requirement is fetching user's friends birthdays and I have a 'Facebook Sync' button for that.Now I have searched for resources meeting/similar to my requirement.But I ran in to errors implementing the answers(sample code) suggested by assisters in posts.A sample question can be glanced here

ERROR SCREEN SHOTS:

enter image description here

enter image description here

Where am I wrong?

Can any one please guide me,any help is greatly appreciated!

Thanks all in advance :)

Toto
  • 89,455
  • 62
  • 89
  • 125
Eshwar Chaitanya
  • 942
  • 2
  • 13
  • 34

1 Answers1

1

Look at your own screenshot of the app settings, please:

“Use these settings to enter the set of permissions your app requires when displayed in App Center”

Is that the case, is the app displayed in Facebook app center on facebook.com when you see this error happening? No?

Also a billion dollar question that arose in my brain was 'Do we need to implement a user login code,does it not automatically redirect the user to login page if not already logged in'?

Of course you have to implement login into your app yourself.

I don’t know what you’ve read where, but please stick to the official documentation: https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/

CBroe
  • 91,630
  • 14
  • 92
  • 150
  • Sorry Mr.CBroe,I forgot to add the publish_stream,read_friendlists extended permissions and also improperly implemented the code in appDelegate implementation file,which dragged me to havoc,now I am able to access user details,friends details like name,id,birthday,picture etc.But friends birthdate is being fetched as MM/dd/yyyy,any way to get it in MM-dd-yyyy format,I mean "-" instead of "/" ,thanks :) – Eshwar Chaitanya Mar 13 '13 at 13:42