Should I MUST upgrade my PHP-SDK from 3.2 to 4.0 after April 30, 2015 (API 1.0 chart expires)? Can I use PHP-SDK 3.2 with Graph API 2.0?

I have several requests regarding updating the version of Graph API and Facebook-PHP-SDK.

1.) I use Facebook PHP-SDK 3.2 for my projects. so if support for the API API v1 is stopped in 2015, then I MUST upgrade 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 a lot of my projects that will break if I upgrade to PHP 5.4 (PHP-SDK for PHP requires PHP 5.4) and I need to make big changes to work while they work.

2.) If I can run PHP-SDK 3.2 with GraphAPI 2.0, do I need to change my code to send / receive a response? or will it not require changes?

Thanks Ashvin

0
php facebook facebook-graph-api facebook-php-sdk
source share
1 answer

Yes, you can use the PHP SDK 3.2 with the v2.0 Graph API, too. Calls in the background are almost the same. The biggest changes are basically removing specific API endpoints and changing return values, so it doesn't matter which version to use.

+1
source share

All Articles