Groups
Groups
Sign in
Groups
Groups
街旁API
Conversations
About
Send feedback
Help
菜鸟问题 关于php代码实例
23 views
Skip to first unread message
镜子
unread,
Dec 5, 2012, 2:50:31 PM
12/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jiepa...@googlegroups.com
菜鸟级别的问题
我下载了php的代码实例后,在config里改了自己的 app id 和 secret 然后就可以放到服务器上用了吗?
www.xxx.com/demo
index 那个页面还是有用的,也能正常的转跳到 “授权” 那个页面,但是再跳到 callback.php的时候 就只能显示 “街旁 API 示例 - 第二步” 这行字。 连 “你还没有朋友” 这段都显示不出来,看来是中间的代码出错了。 是还有什么需要改的我没改吗?
虚心求教 :)
vege-bird
Wander Wang
unread,
Dec 5, 2012, 10:09:43 PM
12/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jiepa...@googlegroups.com, Zakk Zhu
请把php错误提示打开,把出错信息贴过来看看。
--
Wander | 王鑫
Product Manager
你的街旁,我的城市
Mobile:
+86 18611789027
QQ:53540293
Message has been deleted
Message has been deleted
镜子
unread,
Dec 6, 2012, 1:53:18 AM
12/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jiepa...@googlegroups.com, Zakk Zhu
就是把 php.ini 的 display_error 打开对把。 还是没有显示任何东西。 :(
我试了再次下载 代码实例 然后只改动 app id 和 secret 的部分,还不成功。
奇怪的是 怎么在 自己localhost上面跑就能跑出 “测试调用 /friends/list 您没有好友。”
但一放到服务器上就不成功呢?
:( :( :(
镜子
unread,
Dec 6, 2012, 3:23:21 PM
12/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jiepa...@googlegroups.com, Zakk Zhu
搞了半天就 几行代码在 php script里就可以了
然后也发现问题了 竟然没有curl extension :(
装上了就好了! :) 还是感谢帮助!
On Thursday, December 6, 2012 11:09:43 AM UTC+8, Wander Wang wrote:
Wander Wang
unread,
Dec 6, 2012, 9:59:48 PM
12/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jiepa...@googlegroups.com, Zakk Zhu
好的,祝你成功! 服务器的配置千差万别,没有错误信息的话实在无法提供什么有参考性的答案 ;)
Reply all
Reply to author
Forward
0 new messages