Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require __DIR__ . '/vendor/proxycrawl/proxycrawl/proxycrawl-api.php';
- $api = new ProxyCrawlAPI(['token' => '6pDBU4aX5S8EawOUgNMYbA']);
- $response = $api->get('https://www.facebook.com/britneyspears');
- if ($response->statusCode === 200) {
- echo $response->body;
- echo $response->statusCode;
- echo $response->headers->original_status;
- echo $response->headers->pc_status;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement