I'm working on a python implementation to use OAuth token. I'm able to get access but the only concern I have is that it needs user interaction and it does not work fore the automation process. Is there any way to authorize the token automatically without user interaction?
# Step 2: Get the end-user's authorization
print("STEP2: AUTHORIZATION")
print(" Visit to the following URL to provide authorization:")
print(" {}?oauth_token={}".format(AUTHORIZE_URL, request_token['oauth_token']))
print("\n")
while input("Press any key to continue..."):
pass