API Documentation

users/listActivity Beta

This method is currently under development and subject to change.

Returns a list of various activity types made by the user.

URL

https://disqus.com/api/3.0/users/listActivity.json

Accessibility

public key, secret key

Supported request methods

GET

Supported formats

json, jsonp

Requires authentication

no

Rate limited

inherits global rate limit

Arguments

Optional

  • since

    Defaults to null

    Unix timestamp (or ISO datetime standard)

  • related allows multiple

    Defaults to [ "forum", "thread" ]

    You may specify relations to include with your response.
    Choices: forum, thread

  • cursor

    Defaults to null

  • limit

    Defaults to 25

    Maximum value of 100

  • user

    Defaults to null

    Looks up a user by ID
    You may look up a user by username using the 'username' query type.

  • query

    Defaults to null

  • include allows multiple

    Defaults to [ "user", "replies", "following" ]

    Choices: user, replies, following

  • anon_user

    Defaults to null

    Looks up an anonymous user by unique hash

Example Responses

Expand json

GET

List activity for the authenticated user.

{
  "cursor":{
    "prev":null,
    "hasNext":false,
    "next":"1213061528000000:0:0",
    "hasPrev":null,
    "total":null,
    "id":"1213061528000000:0:0",
    "more":false
  },
  "code":0,
  "response":[
    {
      "object":{
        "thread":"1",
        "forum":"bobross",
        "author":{
          "username":"disqus_api",
          "about":"",
          "name":"disqus_api",
          "url":"",
          "id":"1",
          "profileUrl":"http://disqus.com/disqus_api/",
          "avatar":{
            "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
          },
          "isAnonymous":false,
          "email":"example@disqus.com"
        },
        "date":"2010-11-04T20:50:00",
        "vote":1,
        "post":{
          "isJuliaFlagged":true,
          "isFlagged":false,
          "forum":{
            "id":"bobross",
            "name":"Bob Ross",
            "founder":"1",
            "favicon":{
              "permalink":"http://disqus.com/api/forums/favicons/bobross.jpg",
              "cache":"http://mediacdn.disqus.com/1091/images/favicon-default.png"
            }
          },
          "parent":null,
          "author":{
            "username":"disqus_api",
            "about":"",
            "name":"disqus_api",
            "url":"",
            "id":"1",
            "profileUrl":"http://disqus.com/disqus_api/",
            "avatar":{
              "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
              "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
            },
            "isAnonymous":false,
            "email":"example@disqus.com"
          },
          "isApproved":true,
          "dislikes":0,
          "raw_message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
          "id":"1",
          "thread":{
            "category":"1",
            "forum":"bobross",
            "author":"1",
            "title":"Happy Accidents",
            "id":"1",
            "isClosed":false,
            "link":null,
            "isDeleted":false,
            "message":"\"If you've painted before you know that we don't make mistakes -- we have happy accidents.\"",
            "ipAddress":"127.0.0.1",
            "slug":"happy_accidents",
            "createdAt":"2008-06-10T01:31:43"
          },
          "points":1,
          "createdAt":"2008-06-10T01:32:08",
          "isEdited":false,
          "message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
          "isHighlighted":false,
          "ipAddress":"127.0.0.1",
          "isSpam":false,
          "isDeleted":false,
          "likes":1
        },
        "recipient":"1",
        "id":"1"
      },
      "type":"like",
      "createdAt":"2010-11-04T20:50:00"
    },
    {
      "object":{
        "isJuliaFlagged":true,
        "isFlagged":false,
        "voters":[],
        "forum":{
          "id":"bobross",
          "name":"Bob Ross",
          "founder":"1",
          "favicon":{
            "permalink":"http://disqus.com/api/forums/favicons/bobross.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/favicon-default.png"
          }
        },
        "parent":{
          "isJuliaFlagged":true,
          "forum":"bobross",
          "parent":null,
          "author":{
            "username":"disqus_api",
            "about":"",
            "name":"disqus_api",
            "url":"",
            "id":"1",
            "profileUrl":"http://disqus.com/disqus_api/",
            "avatar":{
              "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
              "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
            },
            "isAnonymous":false,
            "email":"example@disqus.com"
          },
          "isFlagged":false,
          "raw_message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
          "isApproved":true,
          "id":"1",
          "thread":"1",
          "points":1,
          "isDeleted":false,
          "isEdited":false,
          "message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
          "isHighlighted":false,
          "ipAddress":"127.0.0.1",
          "isSpam":false,
          "createdAt":"2008-06-10T01:32:08"
        },
        "author":{
          "username":"disqus_api",
          "about":"",
          "name":"disqus_api",
          "url":"",
          "id":"1",
          "profileUrl":"http://disqus.com/disqus_api/",
          "avatar":{
            "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
          },
          "isAnonymous":false,
          "email":"example@disqus.com"
        },
        "isApproved":true,
        "dislikes":0,
        "raw_message":"\"Happy little bush.\"",
        "id":"3",
        "thread":{
          "category":"1",
          "forum":"bobross",
          "author":"1",
          "title":"Happy Accidents",
          "id":"1",
          "isClosed":false,
          "link":null,
          "isDeleted":false,
          "message":"\"If you've painted before you know that we don't make mistakes -- we have happy accidents.\"",
          "ipAddress":"127.0.0.1",
          "slug":"happy_accidents",
          "createdAt":"2008-06-10T01:31:43"
        },
        "points":0,
        "createdAt":"2008-06-10T01:45:27",
        "isEdited":false,
        "message":"\"Happy little bush.\"",
        "isHighlighted":false,
        "ipAddress":"127.0.0.1",
        "isSpam":false,
        "isDeleted":false,
        "likes":0
      },
      "type":"post",
      "createdAt":"2008-06-10T01:45:27"
    },
    {
      "object":{
        "isJuliaFlagged":true,
        "isFlagged":false,
        "voters":{
          "username":"disqus_api",
          "about":"",
          "name":"disqus_api",
          "url":"",
          "id":"1",
          "profileUrl":"http://disqus.com/disqus_api/",
          "avatar":{
            "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
          },
          "isAnonymous":false,
          "email":"example@disqus.com"
        },
        "forum":{
          "id":"bobross",
          "name":"Bob Ross",
          "founder":"1",
          "favicon":{
            "permalink":"http://disqus.com/api/forums/favicons/bobross.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/favicon-default.png"
          }
        },
        "parent":null,
        "author":{
          "username":"disqus_api",
          "about":"",
          "name":"disqus_api",
          "url":"",
          "id":"1",
          "profileUrl":"http://disqus.com/disqus_api/",
          "avatar":{
            "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
          },
          "isAnonymous":false,
          "email":"example@disqus.com"
        },
        "isApproved":true,
        "dislikes":0,
        "raw_message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
        "id":"1",
        "thread":{
          "category":"1",
          "forum":"bobross",
          "author":"1",
          "title":"Happy Accidents",
          "id":"1",
          "isClosed":false,
          "link":null,
          "isDeleted":false,
          "message":"\"If you've painted before you know that we don't make mistakes -- we have happy accidents.\"",
          "ipAddress":"127.0.0.1",
          "slug":"happy_accidents",
          "createdAt":"2008-06-10T01:31:43"
        },
        "points":1,
        "createdAt":"2008-06-10T01:32:08",
        "isEdited":false,
        "message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
        "isHighlighted":false,
        "ipAddress":"127.0.0.1",
        "isSpam":false,
        "isDeleted":false,
        "likes":1
      },
      "type":"post",
      "createdAt":"2008-06-10T01:32:08"
    }
  ]
}
Expand json

GET user=1

{
  "cursor":{
    "prev":null,
    "hasNext":false,
    "next":"1213061528000000:0:0",
    "hasPrev":null,
    "total":null,
    "id":"1213061528000000:0:0",
    "more":false
  },
  "code":0,
  "response":[
    {
      "object":{
        "thread":"1",
        "forum":"bobross",
        "author":{
          "username":"disqus_api",
          "about":"",
          "name":"disqus_api",
          "url":"",
          "id":"1",
          "profileUrl":"http://disqus.com/disqus_api/",
          "avatar":{
            "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
          },
          "isAnonymous":false,
          "email":"example@disqus.com"
        },
        "date":"2010-11-04T20:50:00",
        "vote":1,
        "post":{
          "isJuliaFlagged":true,
          "isFlagged":false,
          "forum":{
            "id":"bobross",
            "name":"Bob Ross",
            "founder":"1",
            "favicon":{
              "permalink":"http://disqus.com/api/forums/favicons/bobross.jpg",
              "cache":"http://mediacdn.disqus.com/1091/images/favicon-default.png"
            }
          },
          "parent":null,
          "author":{
            "username":"disqus_api",
            "about":"",
            "name":"disqus_api",
            "url":"",
            "id":"1",
            "profileUrl":"http://disqus.com/disqus_api/",
            "avatar":{
              "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
              "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
            },
            "isAnonymous":false,
            "email":"example@disqus.com"
          },
          "isApproved":true,
          "dislikes":0,
          "raw_message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
          "id":"1",
          "thread":{
            "category":"1",
            "forum":"bobross",
            "author":"1",
            "title":"Happy Accidents",
            "id":"1",
            "isClosed":false,
            "link":null,
            "isDeleted":false,
            "message":"\"If you've painted before you know that we don't make mistakes -- we have happy accidents.\"",
            "ipAddress":"127.0.0.1",
            "slug":"happy_accidents",
            "createdAt":"2008-06-10T01:31:43"
          },
          "points":1,
          "createdAt":"2008-06-10T01:32:08",
          "isEdited":false,
          "message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
          "isHighlighted":false,
          "ipAddress":"127.0.0.1",
          "isSpam":false,
          "isDeleted":false,
          "likes":1
        },
        "recipient":"1",
        "id":"1"
      },
      "type":"like",
      "createdAt":"2010-11-04T20:50:00"
    },
    {
      "object":{
        "isJuliaFlagged":true,
        "isFlagged":false,
        "voters":[],
        "forum":{
          "id":"bobross",
          "name":"Bob Ross",
          "founder":"1",
          "favicon":{
            "permalink":"http://disqus.com/api/forums/favicons/bobross.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/favicon-default.png"
          }
        },
        "parent":{
          "isJuliaFlagged":true,
          "forum":"bobross",
          "parent":null,
          "author":{
            "username":"disqus_api",
            "about":"",
            "name":"disqus_api",
            "url":"",
            "id":"1",
            "profileUrl":"http://disqus.com/disqus_api/",
            "avatar":{
              "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
              "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
            },
            "isAnonymous":false,
            "email":"example@disqus.com"
          },
          "isFlagged":false,
          "raw_message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
          "isApproved":true,
          "id":"1",
          "thread":"1",
          "points":1,
          "isDeleted":false,
          "isEdited":false,
          "message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
          "isHighlighted":false,
          "ipAddress":"127.0.0.1",
          "isSpam":false,
          "createdAt":"2008-06-10T01:32:08"
        },
        "author":{
          "username":"disqus_api",
          "about":"",
          "name":"disqus_api",
          "url":"",
          "id":"1",
          "profileUrl":"http://disqus.com/disqus_api/",
          "avatar":{
            "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
          },
          "isAnonymous":false,
          "email":"example@disqus.com"
        },
        "isApproved":true,
        "dislikes":0,
        "raw_message":"\"Happy little bush.\"",
        "id":"3",
        "thread":{
          "category":"1",
          "forum":"bobross",
          "author":"1",
          "title":"Happy Accidents",
          "id":"1",
          "isClosed":false,
          "link":null,
          "isDeleted":false,
          "message":"\"If you've painted before you know that we don't make mistakes -- we have happy accidents.\"",
          "ipAddress":"127.0.0.1",
          "slug":"happy_accidents",
          "createdAt":"2008-06-10T01:31:43"
        },
        "points":0,
        "createdAt":"2008-06-10T01:45:27",
        "isEdited":false,
        "message":"\"Happy little bush.\"",
        "isHighlighted":false,
        "ipAddress":"127.0.0.1",
        "isSpam":false,
        "isDeleted":false,
        "likes":0
      },
      "type":"post",
      "createdAt":"2008-06-10T01:45:27"
    },
    {
      "object":{
        "isJuliaFlagged":true,
        "isFlagged":false,
        "voters":{
          "username":"disqus_api",
          "about":"",
          "name":"disqus_api",
          "url":"",
          "id":"1",
          "profileUrl":"http://disqus.com/disqus_api/",
          "avatar":{
            "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
          },
          "isAnonymous":false,
          "email":"example@disqus.com"
        },
        "forum":{
          "id":"bobross",
          "name":"Bob Ross",
          "founder":"1",
          "favicon":{
            "permalink":"http://disqus.com/api/forums/favicons/bobross.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/favicon-default.png"
          }
        },
        "parent":null,
        "author":{
          "username":"disqus_api",
          "about":"",
          "name":"disqus_api",
          "url":"",
          "id":"1",
          "profileUrl":"http://disqus.com/disqus_api/",
          "avatar":{
            "permalink":"http://disqus.com/api/users/avatars/disqus_api.jpg",
            "cache":"http://mediacdn.disqus.com/1091/images/noavatar92.png"
          },
          "isAnonymous":false,
          "email":"example@disqus.com"
        },
        "isApproved":true,
        "dislikes":0,
        "raw_message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
        "id":"1",
        "thread":{
          "category":"1",
          "forum":"bobross",
          "author":"1",
          "title":"Happy Accidents",
          "id":"1",
          "isClosed":false,
          "link":null,
          "isDeleted":false,
          "message":"\"If you've painted before you know that we don't make mistakes -- we have happy accidents.\"",
          "ipAddress":"127.0.0.1",
          "slug":"happy_accidents",
          "createdAt":"2008-06-10T01:31:43"
        },
        "points":1,
        "createdAt":"2008-06-10T01:32:08",
        "isEdited":false,
        "message":"\"We want happy paintings. Happy paintings. If you want sad things, watch the news.\"",
        "isHighlighted":false,
        "ipAddress":"127.0.0.1",
        "isSpam":false,
        "isDeleted":false,
        "likes":1
      },
      "type":"post",
      "createdAt":"2008-06-10T01:32:08"
    }
  ]
}