How to change facebook api version in ios sdk

I need to change the api version for Facebook to an earlier version than 2.0. Facebook says that in the newest SDK (which I run) this can be done. But I can’t figure out how to do this.

+4
source share
1 answer

The problem is resolved.

In the latest SDK, Facebook has a method called - (void) overrideVersionPartWith:(NSString *)version;in FBRequest.h, which you can call and specify the version for one action.

+3
source

Source: https://habr.com/ru/post/1545540/


All Articles