Yahoo Social SDK PHP 设置帮助? [英] Yahoo Social SDK PHP setup help?

查看:62
本文介绍了Yahoo Social SDK PHP 设置帮助?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 YQL 和 PHP 与 Yahoo 连接,并且我已经下载了适用于 PHP5 的较新的 YOSocial SDK.尝试运行 YQL Delicious 示例时,出现以下错误:

I'm trying to connect with Yahoo using YQL and PHP and I've downloaded the newer YOSocial SDK for PHP5. When trying to run the YQL Delicious example I'm getting the following error:

警告:session_start() [function.session-start]: open(/tmp//sess_a564d1951e80e64d87a4645f2a18c8b6, O_RDWR) failed: Permission denied (13) in/Users/User Name/Sites/examples/common.inc.php第 55 行

Warning: session_start() [function.session-start]: open(/tmp//sess_a564d1951e80e64d87a4645f2a18c8b6, O_RDWR) failed: Permission denied (13) in /Users/User Name/Sites/examples/common.inc.php on line 55

警告:session_start() [function.session-start]:无法发送会话缓存限制器 - 在/Users 中已发送标头(输出开始于/Users/User Name/Sites/examples/common.inc.php:55)/User Name/Sites/examples/common.inc.php 第 55 行

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Users/User Name/Sites/examples/common.inc.php:55) in /Users/User Name/Sites/examples/common.inc.php on line 55

我已经输入了我的消费者密钥、消费者机密、oauth 域和 oauth 应用程序 ID,但我仍然收到此错误.如果这与错误有关,我目前已将其设置为尝试使用内置 PHP 从我的 Mac 上的 Sites 文件夹运行.我对 PHP 还很陌生(在学校上过一门课程)所以任何帮助将不胜感激!

I've put in my consumer key, consumer secret, oauth domain and oauth app id and I'm getting this error still. I currently have it setup to try to run from my Sites folder on my Mac using the built in PHP if that has something to do with the error. I'm pretty new to PHP (took one course in school) so any help would be much appreciated!

推荐答案

除了使用 bigodines fork (https://github.com/bigodines/yos-social-php5) 之外,我无能为力使官方 Yahoo SDK 正常工作我能够让它正常工作,没有任何问题.

Nothing I could do could make the official Yahoo SDK work but using the bigodines fork (https://github.com/bigodines/yos-social-php5) I was able to get it working without any issues.

这篇关于Yahoo Social SDK PHP 设置帮助?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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