Jump to content

Search the Community

Showing results for tags 'soundcloud api help php'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. I don't know why but I cannot get this to show me any results. I think it has something to do with the "if(isset.." statement. ALSO i keep getting this error and have no idea what it means. Warning: http_build_query() [function.http-build-query]: Parameter 1 expected to be Array or Object. Incorrect value given in /home/content/98/11283098/html/Soundcloud.php on line 796 <?php session_start(); //session_destroy(); require "Soundcloud.php"; $soundcloud = new Services_Soundcloud('b2d68263b3f0b55fc00edb19e95c0560', '0fd9a8f7bfac3f954b9b74db8d94a453', 'http://themusicmeter.net/CLOUDBETA.php'); $soundcloud->setDevelopment(false); $authURL = $soundcloud->getAuthorizeUrl(); echo '<pre>'; echo "<a href='$authURL'>Connect to Soundcloud</a>"; //Attempt to get token from Session First //Set the token otherwise... try { if (!isset($_SESSION['token'])) { $accessToken = $soundcloud->accessToken($_GET['code']); $_SESSION['token'] = $accessToken['access_token']; print_r($accessToken); } else{ $soundcloud->setAccessToken($_SESSION['token']); } } catch (Services_Soundcloud_Invalid_Http_Response_Code_Exception $e) { exit($e->getMessage()); } try { $me = json_decode($soundcloud->get('me'), true); print_r($me); } catch (Services_Soundcloud_Invalid_Http_Response_Code_Exception $e) { exit($e->getMessage()); }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.