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

后端 未结 2 1212
别那么骄傲
别那么骄傲 2021-02-13 15:39

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:59

    Due to Facebook SDK 5.x use guzzle version 5. So downgrade the guzzle library will workaround

    $ composer require guzzlehttp/guzzle:~5.0
    

提交回复
热议问题