【发布时间】:2012-09-20 01:34:30
【问题描述】:
我在应用程序中使用foursquare API。当我在本地机器上运行应用程序时我没有任何问题,但是在用户允许应用程序并被重定向到回调 url 后,我在服务器上收到此错误。
Fatal error: Uncaught exception 'EpiFoursquareException'
in /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php:252
Stack trace:
#0 /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php(208): EpiFoursquareException::raise(Object(EpiCurlManager), false)
#1 /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php(196): EpiFoursquareJson->__get('response')
#2 /home/content/40/9029540/html/earlybirds/test/callback.php(45): EpiFoursquareJson->offsetGet('access_token')
#3 {main} thrown in /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php on line 252
有人知道原因吗? 我使用 PHP 和 mysql
【问题讨论】:
标签: exception callback foursquare