Skip to content

Commit c7df048

Browse files
authored
Update instagramcallback.php
1 parent 50ca6cc commit c7df048

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/instagramcallback.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
$ch = curl_init();
1111

12-
curl_setopt($ch, CURLOPT_URL, 'https://scraper-api.smartproxy.com/v1/task');
12+
curl_setopt($ch, CURLOPT_URL, 'https://scraper-api.smartproxy.com/v2/task');
1313
curl_setopt($ch, CURLOPT_USERPWD, 'username' . ':' . 'password');
1414
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1515
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($params));
@@ -26,4 +26,4 @@
2626
echo 'Error:' . curl_error($ch);
2727
}
2828
curl_close ($ch);
29-
?>
29+
?>

0 commit comments

Comments
 (0)