douyun1546 2011-11-19 05:24
浏览 46

Facebook PHP SDK刷新循环在不同的子目录路径下

I have searched everywhere (google indexes parallel universe's results too right?) to problem with Facebook PHP SDK refresh loop.

I have narrowed it down to the following scenarios.

My setup:

  1. main site (own cms) - http://localhost/
  2. wordpress blog - http://localhost/blog

I have a header that is shared across both #1 and #2 above (on wordpress, i created a theme to include functions and share #1's $db object with wordpress).

So, when i login under #1, sites under #1 paths, like localhost/?mod=some_module work fine.

But if i point my browser to #2 (localhost/blog/) then i get a refresh loop.

Any idea?

Thanks in advance..

  • 写回答

1条回答 默认 最新

  • duandingyou3331 2011-11-19 19:41
    关注

    Hmm, actually i kinda do few things wrong in my code. But ultimately, i need to set oauth: true for new JS API and new PHP SDK version 3.1.1.

    Full description can be found here: https://developers.facebook.com/blog/post/534/

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作