Hi All,
I am trying to apply the facebook login following the example on this link but it fails in compiling.
I have tried to re-add the required resources, removing and installing the FB sdk 11.20, researched the forum and can only see this link referring to the error but can not find a solution or any other similar problem.
Current SDK version: 6609375
I am using B4xPages in the attached project; however I have added the facebook.initialize in starter.
The error received is:
Note: I also tried to add the facebook.initialize to the B4XMainpage but received similar error.
Attached is the project that fails with this error.
I appreciate if anyone had this problem before to shed some lights, thank you for your help!
I am trying to apply the facebook login following the example on this link but it fails in compiling.
I have tried to re-add the required resources, removing and installing the FB sdk 11.20, researched the forum and can only see this link referring to the error but can not find a solution or any other similar problem.
Current SDK version: 6609375
I am using B4xPages in the attached project; however I have added the facebook.initialize in starter.
The error received is:
Error while compilation:
B4A Version: 11.50
Parsing code. (0.13s)
Java Version: 11
Building folders structure. (4.31s)
Running custom action. (0.06s)
Compiling code. (4.40s)
Compiling layouts code. (0.28s)
Organizing libraries. (0.08s)
(AndroidX SDK)
Compiling resources (2.73s)
Linking resources (3.29s)
Compiling debugger engine code. (17.05s)
Compiling generated Java code. Error
B4A line: 13
facebook.Initialize
src\net\fitcap\starter.java:182: error: method Initialize in class FacebookSdkWrapper cannot be applied to given types;
_facebook.Initialize(processBA);
^
required: no arguments
found: BA
reason: actual and formal argument lists differ in length
Note: I also tried to add the facebook.initialize to the B4XMainpage but received similar error.
Attached is the project that fails with this error.
I appreciate if anyone had this problem before to shed some lights, thank you for your help!