PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, February 11, 2022

[FIXED] facebook-php-sdk in a server with php 5.2

 February 11, 2022     facebook, facebook-php-sdk, php     No comments   

Issue

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


Solution

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.



Answered By - andyrandy
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing