Monday, February 21, 2011

BlackBerry - Facebook connect from application

i m developing a blackberry app which requires facebook login. can i login to facebook via my app without stopping the app in the middle. means can i login to facebook in parallel with my application, without interrupting it.

From stackoverflow
  • You would need to make your program multithreaded, and handle the connection to facebook in another thread.

  • It all depends whether the User of your application has already grants your application the access to his/her profile. If it is true, you would then have the session key (valid and non-expiring) for the User and no login is required. Furthermore, some methods do not require session at all (cf. Facebook API documentation).

    tek3 : what if the user has not granted the request..?? how to proceed further in that case..
    Eki : Unfortunately there is not much your app can do as Desktop application (Facebook Connect) requires session key. (http://wiki.developers.facebook.com/index.php/Category:Sessionless_API)

0 comments:

Post a Comment