Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8509897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:33:29+00:00 2026-06-11T03:33:29+00:00

I have some php and javascript experience and just started learning curl. Been messing

  • 0

I have some php and javascript experience and just started learning curl. Been messing around with remote logins to soundcloud. Eventually I want be able to follow or unfollow through my program. I’ve been looking at the soundcloud source code and can’t seem to figure out how it’s processing the follow button clicks. The onclick is just set to return false.

  1. Can anyone guide me to how they process follows? I was thinking Ajax but the script appears to be something different. Is this json?
  2. Is there another specific language I need to know to effectively create this program?

Let me know what source code I can provide as the whole page seems too much to post.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T03:33:29+00:00Added an answer on June 11, 2026 at 3:33 am

    It appears that they have a developer API that you have access to that supports following and liking users so the best way to do what you want would be to use their API for logging in and performing actions.

    If they didn’t have an API, you could sniff out the requests your browser makes when you click follow and see what HTTP requests the browser makes and emulate those with cURL to get the same result. But since they have an API that is the most reliable method.

    Using the PHP API code following a user is as simple as:

    <?php
    require_once 'Services/Soundcloud.php';
    
    // create a client object with access token
    $client = new Services_Soundcloud('YOUR_CLIENT_ID', 'YOUR_CLIENT_SECRET');
    $client->setAccessToken('YOUR_ACCESS_TOKEN');
    
    // Follow user with ID 3207
    $client->put('/me/followings/3207');
    
    // check the status of the relationship
    try {
        $client->get('/me/followings/3207');
    } catch (Services_Soundcloud_Invalid_Http_Response_Code_Exception $e) {
        if ($e->getHttpCode() == '404')
            print "You are not following user 3207\n";
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a php page and i have some javascript code to have a
I have a php script that uses some css/javascript tabs, they work on my
easy theory question. I have a couple years experience with PHP and Javascript, trying
I'm fairly new to facebook development, but have experience with PHP and JavaScript. I've
I just started learning Java and I encountered some problems with the tag in
Right now, I am in the process of learning PHP and I have some
I'm moving my site from HTML/CSS into CodeIgniter. Have some experience with PHP, but
Possible Duplicate: Parse a JavaScript file through PHP I have some pretty long string
First off I am completely new to Javascript but I have some HTML/CSS experience.
I have some javascript code in the most of my php files(different javascript code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.