You need to sign in to do that
Don't have an account?
Chatter isModifiedUrl getting "Invalid feed modified token"
I submitted a case to have this feature enabled. They have enabled the feature. Prior to the feature being enabled the is-modified field was null.
Request: https://na15.salesforce.com/services/data/v27.0/chatter/feeds/news/me?sort=CreatedDateDesc
Response: {"feedItemsUrl":"/services/data/v27.0/chatter/feeds/news/005i0000000qJX7AAM/feed-items","isModifiedUrl":"/services/data/v27.0/chatter/feeds/news/005i0000000qJX7AAM/is-modified?since=2%3A1368707238000"}
Request:
Response:
[
{
"message" : "Invalid feed modified token: 2%3A1368707238000",
"errorCode" : "INVALID_FIELD"
}
]
It's unclear to me why the isModifiedUrl isn't working for you. Would you be able to try using curl to see if you get the same results? The commands will look something like this:
First request:
curl -H "X-PrettyPrint: 1" --header 'Authorization: OAuth <00D...your sid or oauth token here>' https://na15.salesforce.com/services/data/v27.0/chatter/feeds/news/me
Second request, using the isModifiedUrl from the first response:
curl -H "X-PrettyPrint: 1" --header 'Authorization: OAuth <00D...your sid or oauth token here>' https://na15.salesforce.com/services/data/v27.0/chatter/feeds/news/005i0000000qJX7AAM/is-modified?since=your_token_here
Thanks for the suggestion. I am using a visual curl tool and it is failing in that tool, but is working perfectly fine using curl from the command line! Grrrr!
When I was copying and pasting the url into the visual tool what I needed to do is url decode the the parameter. Convert '
%3A' to ':'
Thought, I tried that yesterday!
Thanks again