Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OAuth 仕様によると、タイムスタンプは 1970 年 1 月 1 日 00:00:00 GMT からの秒数で表されます。 タイムスタンプ値は正の整数でなければならず、以前のリクエストで使用されたタイムスタンプ以上でなければなりません。
http投稿を作成するためにAndroidアプリに必要です
現在のタイムスタンプの使用System.currentTimeMillis()/1000
System.currentTimeMillis()/1000
これを試して:
int authSeconds = (int)(new Date().getTime()/1000);
あなたが使用することができます: