PHP cURL returning empty response when fetching order status (Instagram followers)

21 hours ago 1
ARTICLE AD BOX

I am building a custom client dashboard to track social media growth metrics. We are using fameviso.com to manage some of our campaigns, specifically for Instagram followers, and I want to pull the real-time order status to display on my own site's panel.

When I make a standard PHP cURL request to their endpoint to get the status of the Instagram followers package, it returns an empty string or times out. However, if I paste the exact same URL into my browser or Postman, it returns a valid JSON response perfectly.

Here is the snippet I am using:

$url = "https://fameviso.com/api/v2?key=MY_API_KEY&action=status&order=12345"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0'); // Tried adding this, didn't help $response = curl_exec($ch); $error = curl_error($ch); curl_close($ch); var_dump($response); echo "cURL Error: " . $error;

When I run this, $response is empty. Is this likely a missing User-Agent issue, a strict SSL verification problem, or do APIs like Fameviso require specific headers (like Accept: application/json) to accept requests from an external server? Any help is appreciated.

Read Entire Article