status is always pending in response while using the seesmic ping API.

26 views
Skip to first unread message

Abhishek Chand

unread,
Jul 20, 2012, 5:24:59 AM7/20/12
to seesmic-ping-api-...@googlegroups.com
Hi,

I have a issue in status field of response after posting using the seesmic ping API.

status field of response is always PENDING even if posting was successful. Sometimes post doesn't get posted in the respective account and still get a status as PENDING.
Can i get information about this and what values can status field in response can have.

Thank you

George Ionita

unread,
Jul 23, 2012, 3:50:14 AM7/23/12
to seesmic-ping-api-...@googlegroups.com
Hello,

Can you please follow up with the request that you are making to the API, and also the response that you get?

Thanks,
George

--
You received this message because you are subscribed to the Google Groups "Seesmic Ping API Development Group" group.
To post to this group, send email to seesmic-ping-api-...@googlegroups.com.
To unsubscribe from this group, send email to seesmic-ping-api-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/seesmic-ping-api-development-group/-/mSaKqiLz-7YJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Abhishek Chand

unread,
Jul 23, 2012, 4:05:24 AM7/23/12
to seesmic-ping-api-...@googlegroups.com
Hi,

This is my request code 

{
    "destinations": [{
        "account": {
            "id": "51299541-d534-4c42-abdb-7febb78ad584",
            "target": {
                "id": "160152767394341"
            }
        }
    }
    "message": "basic post 2 accounts"
}

And Response

{
    "id": "eddac8e1-8c1d-4387-a1bf-1c4a4084318e",
    "message": "test msg",
    "owner": {
        "userUuid": "b2676cec-99c0-4df6-aed4-47e81994d139",
        "organizationUuid": "b2676cec-99c0-4df6-aed4-47e81994d139",
        "identityUuid": "b2676cec-99c0-4df6-aed4-47e81994d139",
        "firstName": "Axr",
        "lastName": "Fd"
    },
    "status": "PENDING",
    "updated": "2012-07-23T08:01:30.906Z",
    "created": "2012-07-23T08:01:30.906Z",
    "destinations": [{
        "id": "b42ee411-0701-40d2-8253-a2f02ac417b1",
        "account": {
            "id": "b671b930-ca71-4497-924d-13d8e62a0e5a",
            "name": "abhishek_skt",
            "username": "abhishek_skt",
            "userId": "480355961",
            "service": "twitter.com",
            "added": "2012-07-21T09:48:35.809Z",
            "target": {
                "name": "abhishek_skt",
                "id": "480355961",
                "promoted": false
            }
        },
        "status": "PENDING"
    }],
    "scheduled": "2012-07-23T08:01:30.906Z",
    "media": [],
    "links": [],
    "applicationId": "107"
}

Twitter posting is successful but, i am get a PENDING status.

and can you please tell me what values "status" can have.

Thank you.

On Monday, July 23, 2012 1:20:14 PM UTC+5:30, George Ionita wrote:
Hello,

Can you please follow up with the request that you are making to the API, and also the response that you get?

Thanks,
George

On Fri, Jul 20, 2012 at 12:24 PM, Abhishek Chand <abhish...@sktnetwork.com> wrote:
Hi,

I have a issue in status field of response after posting using the seesmic ping API.

status field of response is always PENDING even if posting was successful. Sometimes post doesn't get posted in the respective account and still get a status as PENDING.
Can i get information about this and what values can status field in response can have.

Thank you

--
You received this message because you are subscribed to the Google Groups "Seesmic Ping API Development Group" group.
To post to this group, send email to seesmic-ping-api-development-gr...@googlegroups.com.
To unsubscribe from this group, send email to seesmic-ping-api-development-group+unsubscribe@googlegroups.com.

George Ionita

unread,
Jul 23, 2012, 4:18:19 AM7/23/12
to seesmic-ping-api-...@googlegroups.com
This is normal for the response you get to that call, because when you make it, you actually place the post in a queue for delivery. The request is then processed seconds later (unless it's scheduled for a later time) and sent to the destinations. If you would make a call like GET /posts/eddac8e1-8c1d-4387-a1bf-1c4a4084318e to check the status later, you will most likely see it as SENT. It's designed this way because we cannot control the time it takes for the post to reach it's destinations and we cannot just block the api call until we have a final status.

The statuses can be: PENDING, RETRY, SENT, PARTIAL, FAILED, SCHEDULED, CANCELED.

To post to this group, send email to seesmic-ping-api-...@googlegroups.com.
To unsubscribe from this group, send email to seesmic-ping-api-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/seesmic-ping-api-development-group/-/aBprKuPBhWYJ.
Reply all
Reply to author
Forward
0 new messages