Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook-php-sdk vs facebook-php-sdk-v4

I am using facebook-php-sdk v 3.0.0.

Checked that facebook-php-sdk-v4 have changed totally.

I have requirements of Register,Login & Sharing from this API.

My question is : Which is more suits for me? Do I require to update version to 4.0.0?

1) facebook-php-sdk https://github.com/facebook/facebook-php-sdk

2) facebook-php-sdk-v4 https://github.com/facebook/facebook-php-sdk-v4

Please Guide

Thanks, Niko

like image 955
Niko Jojo Avatar asked May 02 '14 06:05

Niko Jojo


Video Answer


1 Answers

You should work with the latest version - 4.4 of the PHP SDK. This SDK is compatible with the Facebook v2 APIs and methods. This new version of SDK has been completely rebuilt.

The older SDK uses the v1.0 of the facebook API that will be supported until April 30th, 2015.

See here: Facebook Platform Changelog

like image 122
Sahil Mittal Avatar answered Sep 17 '22 17:09

Sahil Mittal