How to use Facebook login in a modal view in iOS SDK?

Let’s learn how to use Facebook login in a modal view in iOS SDK. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

How to use Facebook Login in a modal view in iOS SDK?

I'm trying to modify the demo that comes with the Facebook iOS SDK. I need the login button appears in a second modal view. When I click on the login button, it opens Facebook App and authorization is sought, then returns to my app but fbDidLogin is not fired. I have followed all the steps from here https://github.com/facebook/facebook-ios-sdk. Here is the code i'm using. Please help me to find out what i'm missing. I'm using Xcode 4.1 and iOS SDK 4.3 myAppAppDelegate.h #import <UIKit/UIKit...

Answer:

First of all, how does this even compile? @synthesize firstViewViewController = _ firstViewViewController...

Read more

Claudio Uribe Solar at Stack Overflow Mark as irrelevant Undo

Other solutions

Answer:

Actually the Facebook SDK 4.0 version includes an app invite dialog. You can define it with a few lines...

Read more

Balint Farago at Quora Mark as irrelevant Undo

Any way to pull out session key from access token returned by Facebook iOS SDK?

I need Facebook session key to be used in this senario: http://developers.facebook.com/d... However, the current Facebook iOS SDK( https://github.com/facebook/face... ) returned us a access token which is not enough for this case. I digged around a lot...

Answer:

Hacky as it is, you can call auth.promoteSession API with your OAuth token to get a session key. We...

Read more

Luke Shepard at Quora Mark as irrelevant Undo

Is it correct to save the Facebook access token in memcache for authenticating returning users in Django?

I am developing an ios app using django in the backend. What I have done so far is For user registration: Signup the user using facebook in the ios frontend. Send the access-token to the django backend and use the access token to get further information...

Answer:

I don't think you should save (persist) the access token, because the Facebook documentation says: Logging...

Read more

Andrei Cristof at Quora Mark as irrelevant Undo

Would you use Core Data for an iOS app with a social feed (think Facebook posts), where you sometimes have a need to persist those feed items?

We are building a mobile polling app, similar to the Twitter model where you view a feed of those you are following, and can also ask questions directly. So it makes sense to persist questions you asked (and their related objects, answer choices and...

Answer:

What I would do: Core Data I would be to use Core Data for the social feed. Core Data supplies such...

Read more

Roderic Campbell at Quora Mark as irrelevant Undo

How does the Facebook iOS app use an unequal number of headers and item sections in their profile info TTSectionedDataSource-like table view?

Let me know if this needs clarification. I guess one option is that they subclassed the data source somehow but I wonder about the specifics.

Answer:

They don't use Three20 anymore so I don't think this question is relevant. I also don't understand what...

Read more

Tim van Elsloo at Quora Mark as irrelevant Undo

I use facebook..... But when i login through my mobile nokia n95 8gb or any other mobile device?

continue.................... Any picture or image isn't show . I set photos view Max in setting but still not helpfull... Kindly help me out... What should i do (don't comment about my engish if wrong grammer)

Answer:

dlode face book app

Read more

Kali at Yahoo! Answers Mark as irrelevant Undo

What is the best way to implement "Login with Facebook"?

This is my approach: 1. Have the user connect to Facebook on the client side, e.g. using the JavaScript SDK or iOS SDK. 2. Send the returned access token to the server. 3. Request /me from the Graph API on the server side to get the user's Facebook ID...

Answer:

Create your Facebook account , If you don’t have already  please create your Facebook account...

Read more

Muni Ayothi at Quora Mark as irrelevant Undo

I have a question about using a Facebook account to post on a non-Facebook website?

I recently joined a website that allows me to login (to post comments) using my Facebook account. When I login, I can post comments and I see them. However, when I log out of Facebook and then view the page I posted the comment on...its not there! If...

Answer:

It the wed site not Face Book and as long as you can see them other place , it no big deal, it happen...

Read more

Josh at Yahoo! Answers Mark as irrelevant Undo

What are the differences between a Facebook App and an external website with Facebook Login?

Are there advantages or disadvantages? From the Facebook App point of view a user doesn't need to leave Facebook. However, if the user is not on Facebook he has to access to it. Notifications do they work the same? I am creating a Facebook App however...

Answer:

For my understant, I always suggest my client to do microsite more than facebook app because I think...

Read more

Paphinnawich Aiamkong at Quora Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.