Instructions to Reset your password have been emailed to the specified email address.
Please check your SPAM folder if you do not receive an email from us within the next 15 mins.
Inbox

API calls for Inbox

GET INBOX

Return all the Inbox items for the connected social accounts

Method

GET /inbox/get

Request

GET https://www.getstacker.com/inbox/get?access_token={access_token}

Attributes

timestamp
date
Return items before/after a certain time
optional,
Date format[Y-m-d h:i:s]
is_after
integer
Passed along with timestamp to return items before/after optional,
Allowed format[0, 1]
is_archived
integer
Show only archived items
optional,
Allowed format[0, 1]
filter_by_user_id
string
Return items only for a specific user
optional
channel_id
Integer
Return items for a specific social account
optional

Response
{
  "status": "success",
  "data": {
    "count": 20,
    "limit": 20,
    "view_more": 1,
    "active": 0,
    "posts": [
      {
        "text": "With great power comes great responsibility",
        "object_id": "337335193090417",
        "channel_reply_index": "180:337335193090417_337361993087737",
        "post_id": "100004418164137_337335193090417",
        "channel_id": "180",
        "timestamp": "2014-07-24 10:07:12",
        "user_name": "Ben Parker",
        "is_direct_post": "0",
        "reply_id": "337335193090417_337361993087737",
        "user_id": "100007197998327",
        "is_unread": "1",
        "user_picture": "...",
        "channel": "2",
        "parent_id": "0",
        "get_conversation_id": "100004418164137_337335193090417",
        "post_creator_id": "100004418164137",
        "stacker_action_id": "337335193090417_337361993087737",
        "post_type": "46",
        "is_actionable": 1,
        "can_delete": 0,
        "channel_id_screen_name": "Spiderman Official",
        "channel_picture": "...",
        "mobile_permalink": "fb://post/100004418164137_337335193090417",
        "stacker_reply_id": "100004418164137_337335193090417",
        "no_data": 0,
        "is_actioned": 0,
        "first_response": 0,
        "action_counter": 0,
        "is_liked": 0,
        "attachment": null
      },
     ...
   }
}



GET INBOX ITEM

Get the details of a single inbox item

Method

GET /inbox/getItem

Request

GET https://www.getstacker.com/inbox/getItem?access_token={access_token}

Attributes

reply_id
integer
Inbox item id
required
channel_id
integer
Social account channel id
required


GET Like Info

Get post facebook likes information

Method

GET /inbox/likeInfo

Request

GET https://www.getstacker.com/inbox/likeInfo?access_token='access_token'

Attributes

channel_type
integer
Channel Type
required
Allowed values [1, 2, 3, 4, 5, 6, 7]
channel_id
integer
Channel id to which the post belongs to
required
item_id
integer
Item id for which you want to get the Likes for
required

Response
{
"status":"success",
"data":[
             {
               "name":"Peter Parker",
               "profile_id":100007197998327,
                "picture":"...",
               "picture_small":"...",
               "is_connected":1,
               "current_user":0
              },

               {
               "name":"Harry Ozbourne",
               "profile_id":100007197998328,
                "picture":"...",
               "picture_small":"...",
               "is_connected":1,
               "current_user":0
              }
         ]
}



GET Retweet Info

Get twitter post retweet information

Method

GET /inbox/retweetInfo

Request

GET https://www.getstacker.com/inbox/retweetInfo?access_token={access_token}

Parameters

channel_type
integer
Type of channel
required
Allowed values [1]
channel_id
integer
Channel id to which the post belongs to
required
item_id
integer
Item id for which you want to get the Likes for
required

Response
  {
      "status": "success",
      "data": [{
          "name": "Neil Coutinho",
          "screen_name": "njcoutinho",
          "profile_id": "2164077794",
          "picture": "https://pbs.twimg.com/profile_images/470065420741779457/29mNxqm-_normal.jpeg",
          "is_connected": 1,
          "current_user": 1
      }, {
          "name": "Kenrick Vaz",
          "screen_name": "kenrickvaz",
          "profile_id": "2164077795",
          "picture": "https://pbs.twimg.com/profile_images/470065420741779457/29mNxqm-_normal.jpeg",
          "is_connected": 1,
          "current_user": 1
      }]
  }



GET conversation
Method

GET /inbox/conversation

Request

GET https://www.getstacker.com/inbox/conversation?access_token={access_token}

Parameters

channel_id
integer
Channel id to which the post belongs to
required
channel_type
integer
Type of channel
required
Allowed values [1, 2, 3, 4, 5, 6, 7]

post_id
integer
Post id for which you want to get the conversation
required
is_message
integer
Return Direct Message items
optional
comment_id
integer
Return inbox items from this comment id onwards
optional



GET More Conversation

Show more items of a conversation

Method

GET /inbox/moreConversation

Request

GET https://www.getstacker.com/inbox/moreConversation?access_token={access_token}

Parameters

channel_type
integer
Type of channel
required
Allowed values [1, 2, 3, 4, 5, 6, 7]
channel_id
integer
Channel id to which the post belongs to
required
timestamp
date
Results to be returned from what point in time
optional
Date format [Y-m-d h:i:s]
post_id
integer
Post id for which you want to get the conversation
required
is_message
integer
Show direct messages
optional
last_comment_id
integer
Return items after this id
required
is_next
integer
Return before/after timestamp
Allowed values [0, 1]


Post Inbox Actions

Actions on Inbox items

Method

POST /inbox/action

Request

POST https://www.getstacker.com/inbox/action?access_token={access_token}

Parameters

post_id
integer
Post id of on which you are performing the action
required
channel_type
integer
Type of channel
required
Allowed values [1, 2, 3, 4, 5, 6, 7]
channel_id
integer
Channel id to which the post belongs to
required
action
string
Action verb
Allowed values ['like', 'unlike', 'retweet', 'favorite', 'unfavorite', 'archive', 'unarchive', 'comment', 'reply', 'read', 'unread', 'delete', 'dm_reply', 'archive_conversation'],

Response
{
  "status": "success"
}



POST Retweet

Retweet a post

Method

POST /inbox/retweet

Request

POST https://www.getstacker.com/inbox/retweet?access_token={access_token}

Parameters

channel_ids
integer
Social account ids you want to post to
required
e.g. [ 1_2_3 ]
post_id
integer
Post id you want to retweet
required

Response
{
    "status": "success",
    "data": {
        "428": {
            "type": 1,
            "status": "success",
            "message": "inbox_retweet_success"
        }
    }
}



DELETE Post

Delete a Post

Method

DELETE /inbox/deletePost

Request

DELETE https://www.getstacker.com/inbox/deletePost?access_token={access_token}

Parameters

channel_id
integer
Channel id which the post belongs to
required
post_id
integer
Post id you want to delete
required

RESPONSE

{
  "status": "success"
}



Archive Post

Archive all posts of a social account

Method

POST/inbox/archive

Request

POST https://www.getstacker.com/inbox/archive?access_token={access_token}

Parameters

channel_id
integer
Channel id to archive all posts from
optional

Response
{
  "status": "success",
  "data": "data archived"
}



DELETE Comment

Delete Comment

Method

DELETE /inbox/deleteComment

Request

DELETE https://www.getstacker.com/inbox/deleteComment?access_token='access_token'

Parameters

post_id
integer
Post id to be deleted
required
channel_type
integer
Type of channel
required
Allowed values [1, 2, 3, 4, 5, 6, 7]
channel_id
integer
Channel id to which the post belongs to
required
is_message
Integer
Is it a Direct Message
optional
Allowed values [0, 1]

Response
{
    "status": "success",
    "data": {
        "account_id": "68",
        "post_id": "337332179757385_338823182941618",
        "channel_id": "180",
        "type": "2"
    }
}