Facebook Login with login Button | Techbirds

Hi all,

I recently did a POC on facebook login. Here is my workaround.

I used the Loginbutton Widget to login.

first of all in linearlayout put this

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

    

Then prefer using UiLifeCycleHelper as provided by Tapan

In that you will find onSessionStateChanged method with three parameters

Session State FacebookException

Session

State

FacebookException

Now your Facebook Login is ready to use. In case you could not login check the exception in debug.

1,906 total views, 1 views today

Share this Onfacebook-4821004twitter-1620902linkedin-4357037google-1993002