Facebook authentication in function - getUser() returns 0

前端 未结 5 992
余生分开走
余生分开走 2021-01-18 18:33

I\'m trying to make a function in my controller to post an album to Facebook. Every time the function is accessed, I\'m redirected to REDIRECT_URI, as if the $userid=0, eve

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-18 19:07

    May be a little late but I had the same sort of problem.

    my error was the callback url it was missing the php file name: index.php I only gave http://www.xxxxx.xxx/ after i changed it to http://www.xxxxx.xxx/index.php it worked.

提交回复
热议问题