I had the same problem, and furiously, I could not find anything about this in the documentation. However, you can refer to these two links:
https://developers.facebook.com/docs/android/upgrading-3.x https://developers.facebook.com/docs/android/upgrading-4x
And encourage your version (3.23.0) to be on the graphics API version 2.2 or 2.3 - you couldnโt understand which of the two. Alternatively, it seems that you can call this function from your code:
com.facebook.internal.ServerProtocol.getAPIVersion();
This should return a string of the current version of the charting API that you can register. In my case, for the SDK version 4.0.1 it was a graphical API "v2.3"
Update. It looks like in newer versions of the FB SDK (just tried in v4.23.0), getApiVersion() been changed to getDefaultAPIVersion() . Seems to be doing the same.
source share