Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $response = $this->client->get($googleApiUrl, [
- 'query' => [
- 'q' => "{$hashtag} site:instagram.com",
- 'num' => 10,
- 'key' => env('GOOGLE_API'),
- 'cx' => env('GOOGLE_CX'),
- ],
- 'headers' => [
- 'Accept' => 'application/json',
- ],
- ]);
- $results = json_decode($response->getBody()->getContents(), true);
- dd($results);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement