You are correct that OAuth tokens may change if you ask for them again, but if you do not request them again, they will not expire for a very long time. Therefore, the best strategy is to request OAuth tokens once when your user logs in, saves them in the database and continues to use the same ones, without asking for new ones the next time they log in .
Of course, when you call later, you may find that OAuth tokens are now rejected. This can happen for a number of reasons, most likely the user has canceled access from the Twitter settings page. At that time, you should request a new set and overwrite the old ones. But this does not need to be done if the old ones do not stop working.
source share