mohamedmansour / google-plus-extension-jsapi

Unofficial Google+ Read/Write Extension API
https://plus.google.com/116805285176805120365/posts/JYiVWmFbeSn
Other
175 stars 35 forks source link

Figure out the meaning of the timestamp_msec param in some APIs #12

Open quietlynn opened 12 years ago

quietlynn commented 12 years ago

I was trying to sniff for the API for adding comments. However, I can't get the timestamp_msec param right. It looks like a timestamp, but it differs from the current datetime. Google+ rejected all my requests with HTTP 400.

I tried to take a look at the compiled javascript, but I failed.

tzafrir commented 12 years ago

On my system, when posting a comment timestamp_msec is exactly the current time in milliseconds - equal to new Date().getTime()