Facebook Sdk Has Not Been Initialized FacebookSdk.sdkInitialize()

前端 未结 8 1300
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 23:55

Hey I know this was asked before, but none of the solutions seem to help. I\'m using first time Facebook SDK in my application.

What I\'ve tried:

I had tried

相关标签:
8条回答
  • 2020-12-05 00:43

    For Flutter Devs running into this issue.

    Make sure you have followed the steps 1-6 as given in the facebook documentation.

    Adding FacebookSdk.sdkInitialize() in your MainActivity file won't fix the issue.

    0 讨论(0)
  • 2020-12-05 00:44

    You have to use FacebookSdk.sdkInitialize(getApplicationContext()); before setContentView(R.layout.activity_main); as documentation states out. In case you need a complete facebook login example, check this one here.

    0 讨论(0)
提交回复
热议问题