Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS - Facebook - You must upgrade this app to Graph API v2.x

upon Facebook login, I am getting this message on the Facebook side: "You must upgrade this app to Graph API v2.x. v1.0 will be deprecated on April 30, 2015.

I have visited the Facebook page but it is unclear to me what I need to do. It had seemed I need to just update the Framework in Xcode to version 3.20 which I have done, but I still am getting this message.

I have cleaned the App before running but I am still encountering this message. Any help would be greatly appreciated!

like image 743
mreynol Avatar asked Oct 20 '22 22:10

mreynol


2 Answers

I was having the same problem. I updated the framework through Xcode and nothing. What I found was that the FacebookSDK.framework in my application folder was not being updated. I deleted and updated with the new framework that I download from Facebook website. It worked. No more warning. I hope that helps

like image 138
Camus Avatar answered Oct 22 '22 12:10

Camus


It's all in the docs. Have a look at

  • https://developers.facebook.com/docs/apps/changelog
  • https://developers.facebook.com/docs/apps/upgrading#v1tov2
  • https://developers.facebook.com/docs/ios/upgrading#313to314
  • https://developers.facebook.com/docs/reference/ios/current/class/FBRequest/#overrideVersionPartWith:
like image 40
Tobi Avatar answered Oct 22 '22 13:10

Tobi