How can I check if a profile has certain link?

I am gonna make designs for streamers and ask them to put my link in their panel(under bio-donate etc links.). I want to make a page on my local host to see if they have my link in their profile. I used cURL but I couldn’t get anything. And I don’t know anything API. How can I do it?

Edit: OK I solved it.
Using panels api was the solution. I didn’t know the panels api thing.

$ch = curl_init("");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_USERAGENT,"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 " );

$text = curl_exec($ch);
$test = strpos($text, '');
if ($test==false)
    echo "no";
	echo $text;
    echo "yes";


Alternatively rather than screen scarping, you can parse this (unsupported) API end point:


OO, I did not know about that one :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.