How do i use GET requests using cURL?

You can do that two ways:

  1. Remove echo $number; and include the file in your admin dashboard and just use the $number whenever needed (preferred) or
  2. Use $favorites_number = file_get_contents("https://api.bloxstargames.cf/gba/v1/favorites.php"); and assign it to a variable, such as favorites_number, like I did above. This is easier, but not really preferred.