简体   繁体   中英

facebook-php-sdk in a server with php 5.2

Is possible to use Facebook php sdk v4 in a server using php 5.2? if not, is there any way to use Facebook on this server?

Thanks

This version of the Facebook SDK for PHP requires PHP 5.4 or greater.

No, you can´t use the PHP SDK v4.x on a server with PHP 5.2. You can still use the old SDK though: https://github.com/facebook/facebook-php-sdk

After all the CURL calls are pretty much the same, and if you know how it works you can just use CURL on your own with the API. For example: http://www.devils-heaven.com/extended-page-access-tokens-curl/

Authorization should be done with the JavaScript SDK anyway, it´s much easier with FB.login .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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