Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook account kit - Returns error "We're sorry, something went wrong." in android

I am implementing facebook account kit in android app. I've completed initial setup and when I run the app it displays error

We're sorry, something went wrong.

https://developers.facebook.com/docs/accountkit/android

I searched a lot but did not find anything helpful. If anyone has something to share please share here.

like image 584
Ravi Bhandari Avatar asked Aug 25 '16 13:08

Ravi Bhandari


2 Answers

You need to go through link https://developers.facebook.com/apps/ ----Your-App-ID--- /account-kit/

you can see Enable client access token flow. make it yes.

like image 139
Sugam Malviya Avatar answered Nov 14 '22 23:11

Sugam Malviya


@JayVDiyk You can get more information for an error by setting the debug flag of the init method to true, for more information about the reference:

https://developers.facebook.com/docs/accountkit/webjs/reference

The way you could set init method to true:

AccountKit.init({appId: 1, state: state, version: 'v1.0', debug: true})

Else you could try the solution by adding the http://localhost:3000' like this: enter image description here

like image 33
King Reload Avatar answered Nov 14 '22 22:11

King Reload