I MUST have to update my Facebook PHP-SDK 3.2 to 4.0 after April 30th, 2015(Graph API 1.0 expire)? can i use PHP-SDK 3.2 with Graph API 2.0?

亡梦爱人 提交于 2019-12-09 14:14:42

问题


I have a few queries regarding to version update of Graph API And Facebook-PHP-SDK.

1.) I am using Facebook PHP-SDK 3.2 for my projects. so if Graph API v1 support will stop on 2015 then I MUST have to update my Facebook SDK 3.2 to 4.0 ? can i use Facebook PHP-SDK 3.2 with Graph API 2.0 or > ? Because there are many projects of mine will be break if i will update to PHP 5.4(Facebook PHP-SDK require PHP 5.4) and i need to do major of changes over-there to work as they are working now.

2.) If I can run PHP-SDK 3.2 with GraphAPI 2.0 i need to change my code for send/get response ? or no changes will require for that ?

Thanks, Ashvin


回答1:


Yes, you can use the PHP SDK 3.2 with v2.0 of the Graph API too. The calls in the background are pretty much the same. The biggest changes are mostly removals of certain API endpoints and changes in the return values, so it is irrelevant which version to use.



来源:https://stackoverflow.com/questions/25616331/i-must-have-to-update-my-facebook-php-sdk-3-2-to-4-0-after-april-30th-2015grap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!