简体   繁体   English

如何在ios sdk中更改facebook api版本

[英]how to change facebook api version in ios sdk

I need to change the api version of Facebook to some earlier version than 2.0. 我需要将Facebook的api版本更改为早于2.0版本的版本。 Facebook states that in the newest SDK (which I run), this can be done. Facebook表示,在最新的SDK(我运行)中,可以做到这一点。 But I can't find out how. 但我无法弄清楚如何。

Problem solved. 问题解决了。

In the newest SDK, Facebook has a method called - (void) overrideVersionPartWith:(NSString *)version; 在最新的SDK中,Facebook有一个名为- (void) overrideVersionPartWith:(NSString *)version; in FBRequest.h which you can call and specify the version for a single action. FBRequest.h ,您可以调用它并指定单个操作的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM