Idea Melt

Focus Mode

Endpoints

User - User Followers

Description

Gets a list of all followers of the user_url specified.

endpoint /user/user_followers
method GET
authentication required
Parameters
user_url
required
URL of the user to get followers for.
Response
{
    message_list: [ ], 
    success: true, // always use this boolean to check if the request succeeded
    followers_list: [{
        title: "Scooby-Doo",
        url: "http://en.wikipedia.org/scooby-doo",
        avatar: "http://en.wikipedia.org/scooby-doo_img.png",
        following_count: 42
    }], 
}
followers_list
array
list of followers of the specified user.
Example Request
// make sure you've initialized the library
// before you make requests using it!
// if you haven't, type in the following
IdeaMelt.init({api_key: IDEAMELT_KEY})

// now you're ready for awesomeness!
var data =  {
    user_url: "http://www.en.wikipedia.org/henry_ford"
}
var success = function(r) {
    // everything went perfectly, do something awesome now!
    // remember, this will fire asynchronously
}
var fail = function(r) {
    // yikes! something didn't go right
    // console.log(r.message_list) to see messages from the server
    // ps. this will also fire asynchronously
}

// success and fail are optional parameters
IdeaMelt.send('UserFollowers', data, success, fail);