Argument 3 passed to GuzzleHttp\Client::request() must be of the type array, string given

后端 未结 2 2004
夕颜
夕颜 2021-02-13 15:31

I\'m experimenting with SammyK/LaravelFacebookSdk. Trying to run this line from example: $response = Facebook::get(\'/me?fields=id,name,email\', \'user-access-token\');

2条回答
  •  余生分开走
    2021-02-13 15:52

    I've get the same problem. Changing indexes won't work for me, but I've found a workaround. Installing php-curl extension switches a whole workflow thru cURL, so the problem is vanished.

提交回复
热议问题