Why is my Javascript SDK using the latest version even when I am mentioning a older version
1

Problem: I use the FB Javascript SDK heavily on my app, and I use the Instagram Graph API to collect page and media insights. Due to the version upgrade of 18+. A lot of my code has crashed because some metrics are depreciated.

How to Reproduce: I am initialising my javascript sdk with version: v17.0. But whenever I call FB.api it is always on the latest version. I am also attaching a image on how I am initialising the sdk and calling the api.

Please help asap

Prabhansh
Asked about 5 months ago