$me = $facebook->api('/me'); returns empty string

后端 未结 2 1253
小蘑菇
小蘑菇 2021-01-28 14:47

This piece of code used to work as expected, but now it seems i can\'t retrieve the user name the same way:

 $uid = $facebook->getUser(); // returns the faceb         


        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-28 15:42

    Facebook use CURL for send request to server, maybe curl on your server not work or curl_exec is disabled

提交回复
热议问题