Giter VIP home page Giter VIP logo

Comments (8)

dracarys18 avatar dracarys18 commented on August 24, 2024

Please check README.md I have made it clear what to fill in the .env file

from tweetbot.

cryptedbv avatar cryptedbv commented on August 24, 2024

it is indeed pretty unclear and could be answered. I've added quite a few bots with different guides, but the terminology here does not make much sense. As in the Twitter API creation page it is called "API Key" and "API Key Secret". It would make much more sense to everyone to just use the exact words that are mentioned there. Plus with Telegram you get one long string. So it indeed does not make sense. So I totally get what @amitwadhianivia is saying.

So the first 2 are the API Key and API Secret, the TELEGRAM_BOT is the string you got in telegram when creating it the last 2 are from Twitter again when generating it. (under keys it says Access tokens and Secret)

Lastly, chat ID, you can find that using a bot or web.telegram.org.

from tweetbot.

dracarys18 avatar dracarys18 commented on August 24, 2024

it is indeed pretty unclear and could be answered. I've added quite a few bots with different guides, but the terminology here does not make much sense. As in the Twitter API creation page it is called "API Key" and "API Key Secret". It would make much more sense to everyone to just use the exact words that are mentioned there. Plus with Telegram you get one long string. So it indeed does not make sense. So I totally get what @amitwadhianivia is saying.

So the first 2 are the API Key and API Secret, the TELEGRAM_BOT is the string you got in telegram when creating it the last 2 are from Twitter again when generating it. (under keys it says Access tokens and Secret)

Lastly, chat ID, you can find that using a bot or web.telegram.org.

Thanks for your input, will try to make it as clear as possible.

from tweetbot.

dracarys18 avatar dracarys18 commented on August 24, 2024

@cryptedbv If you have setup the bot can you make a PR to improve the README where it can be improved?

from tweetbot.

cryptedbv avatar cryptedbv commented on August 24, 2024

@cryptedbv If you have setup the bot can you make a PR to improve the README where it can be improved?

Unable to to now, but you could do it in the keys file.

# Please rename this file to keys.env after filling these
#
# CONSUMER_KEY = API Key TWITTER
# CONSUMER_SECRET = API Key Secret TWITTER
# TELEGRAM_BOT = TOKEN that you got from BotFather in TELEGRAM
# ACCESS_TOKEN = Access Token in TWITTER
# ACCESS_TOKEN_SECRET = Access Token Secret in TWITTER
# CHAT_ID = Add '@username_to_id_bot' to your Group or Channel, say something and it will show your channel/group ID, include the '-' infront of the numbers.

export CONSUMER_KEY=""
export CONSUMER_SECRET=""
export TELEGRAM_BOT=""
export ACCESS_TOKEN=""
export ACCESS_TOKEN_SECRET=""
export CHAT_ID=

from tweetbot.

GabriellCosta avatar GabriellCosta commented on August 24, 2024

@cryptedbv If you have setup the bot can you make a PR to improve the README where it can be improved?

Unable to to now, but you could do it in the keys file.

# Please rename this file to keys.env after filling these
#
# CONSUMER_KEY = API Key TWITTER
# CONSUMER_SECRET = API Key Secret TWITTER
# TELEGRAM_BOT = TOKEN that you got from BotFather in TELEGRAM
# ACCESS_TOKEN = Access Token in TWITTER
# ACCESS_TOKEN_SECRET = Access Token Secret in TWITTER
# CHAT_ID = Add '@username_to_id_bot' to your Group or Channel, say something and it will show your channel/group ID, include the '-' infront of the numbers.

export CONSUMER_KEY=""
export CONSUMER_SECRET=""
export TELEGRAM_BOT=""
export ACCESS_TOKEN=""
export ACCESS_TOKEN_SECRET=""
export CHAT_ID=

I opened a PR about that #20

from tweetbot.

dracarys18 avatar dracarys18 commented on August 24, 2024

@cryptedbv If you have setup the bot can you make a PR to improve the README where it can be improved?

Unable to to now, but you could do it in the keys file.

# Please rename this file to keys.env after filling these
#
# CONSUMER_KEY = API Key TWITTER
# CONSUMER_SECRET = API Key Secret TWITTER
# TELEGRAM_BOT = TOKEN that you got from BotFather in TELEGRAM
# ACCESS_TOKEN = Access Token in TWITTER
# ACCESS_TOKEN_SECRET = Access Token Secret in TWITTER
# CHAT_ID = Add '@username_to_id_bot' to your Group or Channel, say something and it will show your channel/group ID, include the '-' infront of the numbers.

export CONSUMER_KEY=""
export CONSUMER_SECRET=""
export TELEGRAM_BOT=""
export ACCESS_TOKEN=""
export ACCESS_TOKEN_SECRET=""
export CHAT_ID=

I opened a PR about that #20

Cool thanks

from tweetbot.

dracarys18 avatar dracarys18 commented on August 24, 2024

Closing this issue now that we have a pretty clear README and a sample env file.

from tweetbot.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.