BlackBerry - Facebook connect from application
i m developing a blackberry app which requires facebook login. can i lo开发者_StackOverflow社区gin 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.
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).
精彩评论