Comments (8)
Please check README.md I have made it clear what to fill in the .env file
from tweetbot.
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.
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.
@cryptedbv If you have setup the bot can you make a PR to improve the README where it can be improved?
from tweetbot.
@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.
@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.
@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.
Closing this issue now that we have a pretty clear README and a sample env file.
from tweetbot.
Related Issues (17)
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Failing to retrieve images from Twitter HOT 7
- No module named 'telegram' HOT 3
- Feature Request: Multi-Channel Support with Per Channel Twitter-IDs HOT 6
- To get destination URL from Twitter cards HOT 6
- can't run TweetBot HOT 2
- .env and edition problems HOT 4
- Error: TweetError { kind: TweetError(BadStatus(403)) HOT 5
- JavaScript version HOT 2
- cannot get the teloxide token env variable HOT 2
- Problem HOT 10
- Error in terminal HOT 8
- Unable to use with V2 API Basic
- failed to import tweet_scrape as ts HOT 1
- Forbidden: bot can't send messages to the user HOT 10
- Feature request discussion HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tweetbot.