how to set facebook token in sharebutton codename one?

130 Views Asked by At

I'm trying to share content to facebook from my Codename One application but the token is null in the network monitor tool.

enter image description here

1

There are 1 best solutions below

0
On

The Share Button will work on device without the Facebook token as it will integrate with the natively installed apps on the device and share to the users facebook account. This is behavior related to the simulator and platforms that don't support native sharing intents.

You can login to Facebook for a token, you can check the section about that in the developer guide but this is unnecessary for real device code.