Help with created_at


#1

im quite a noob with twitter api’s but what would the api be for created_at?


#2

created_at is a UTC date and time value stored in Tweet objects. Any API endpoint that returns a Tweet object will provide access to that value inside the returned Tweet.


#3

Ahh okay, ive been trying to look for a api that says how long a twitter account has been created


#4

Ah ok - that would show up in the User object, for example if you call users/show.json:

$ twurl "/1.1/users/show.json?screen_name=andypiper"
{
  "id": 786491,
  "id_str": "786491",
  "name": "andy piper (pipes) 🤓🕸🏳️‍🌈⌨️",
  "screen_name": "andypiper",
[...]
  "created_at": "Wed Feb 21 15:14:48 +0000 2007",