哪个Facebook SDK与PHP 5.3一起使用? [英] Which Facebook SDK to use with PHP 5.3?

查看:88
本文介绍了哪个Facebook SDK与PHP 5.3一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不幸的是,我走到了穷途末路.由于各种遗留因素和其他原因,我无法将系统升级到PHP 5.4.而且根据Facebook ,我需要5.4才能运行最新的SDK.

Unfortunately I've reached a bit of a dead end. Due to various legacy and other reasons, I can't upgrade a system to PHP 5.4. And according to Facebook, I need 5.4 to run the latest SDK.

我愿意选择一个较低的SDK,但是:

I'm willing to settle for a lower SDK, but:

  1. 如果使用旧版SDK,我会没事吗?
  2. 我应该使用哪个SDK?

奖金问题:

  1. 使用旧的SDK应该将作曲家的路径更改为什么?目前,我有:

  1. What should the composer path be changed to to use the old SDK? Currently I have:

"facebook/php-sdk-v4":"4.0.*"

"facebook/php-sdk-v4" : "4.0.*"

推荐答案

您仍然可以使用旧版本:

You can still use the old one: https://github.com/facebookarchive/facebook-php-sdk

api调用是相同的.新的只是推荐的一种.您甚至可以在没有任何SDK的情况下使用自己的CURL调用.

The api calls are the same. The new one is just the recommended one. You can even use your own CURL calls without any SDK.

尽管您应该使用最新的,但更改提供商可能是个好主意. PHP 5.4应该是每个认真的提供程序支持的绝对最低要求.

You should use the latest one though, it may be a good idea to change your provider. PHP 5.4 should be an absolute minimum every serious provider supports.

对于旧的PHP,您实际上并不需要作曲家.只需下载并放入您的服务器即可.

For the old PHP, you don´t really need composer. Just download it and put in your server.

这篇关于哪个Facebook SDK与PHP 5.3一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆