Reputation: 1
I have a twitter account @xyz I have signed up for developer account I have create one more account @botaccount and in this Account I have labeled it as Automated by @xyz by going to Profile>Setting and Support> Settings and Privacy > Your Account > Account Information > Automaation > Select Managing Account and typing @xyz username and password But I when I am calling the api to post using my developer account @xyz to post in @botaccount
client = tweepy.Client(bearer_token, api_key, api_secret, access_token, access_token_secret)
# Creating API instance. This is so we still have access to Twitter API V1 features
auth = tweepy.OAuth1UserHandler(api_key, api_secret, access_token, access_token_secret)
api = tweepy.API(auth)
# Creating a tweet to test the bot
# Tweeting
# client.create_tweet(text="Hello World")
it is posting from my developer account @xyz I asked GPT it said I font need to create developer accout in bot account I can simply use my developer accout to manage the bot I am not sure how can I do so . Please guide
Solution to Post on twitter using my developer account in my bot account Is that whnw I run the code it should post in my bot account
Upvotes: 0
Views: 17