J7mbo / twitter-api-php

The simplest PHP Wrapper for Twitter API v1.1 calls
MIT License
1.82k stars 800 forks source link

Is it possible change the account setting "time_zone"? #225

Closed AntonioCortinaL closed 7 years ago

AntonioCortinaL commented 7 years ago

Hi,

I´m new using twitter api and I follow a tutorial about this class but, when I publish a tweet the "created_at" parameter seems not one that I want (spanish time). I saw a twitter api endpoint to change account settings (timezone parameter seems the correct to change) in:

https://dev.twitter.com/rest/reference/post/account/settings

Is it possible change it with this library or I can change it by calling this url manually? Because I think this parameter can´t been modify from the twitter app account panel, isn´t?

Can you add a new parameter "settings" for this propose?

Thanks in advance

EwenH commented 7 years ago

Hola, I've never had an issue with times and I've sent about 0.5m tweets from an Australian timezone. Can you confirm that your oauthed account is correcrly set for Spanish time?

AntonioCortinaL commented 7 years ago

Hi,

Thanks for the response. How is to set spanish time in my oauthed account ? I have tried set it in my twitter app but I cant, or is in the twitter account settings?

Ok, is in twitter account. :+1:

Sorry about the question, you can delete this thread ;)

EwenH commented 7 years ago

I have two timezones in Ausrltralia to deal with. I set my twitter ac to the correct timezone and I think that all is good when sending via this class. I could be wrong as I always add the local time to the tweet rwxt but I hope I dont think this is a class issue