Idea Melt

Focus Mode

Endpoints

User - Objects Following

Description

Gets a list of all objects the specified user_url is following.

endpoint /user/objects_following
method GET
authentication required
Parameters
user_url
required
URL of the user to check.
Response
{
    message_list: [ ], 
    success: true, // always use this boolean to check if the request succeeded
    objects_following: [{
        url: "http://en.wikipedia.org/seinfeld",
        object_type_slug: "tv_show"
    }], 
}
objects_following
array
list of objects the specified user is following.
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('ObjectsFollowing', data, success, fail);