twitter-flood-generator | Simple Command Line Utility for Generating Twitter Floods
kandi X-RAY | twitter-flood-generator Summary
kandi X-RAY | twitter-flood-generator Summary
twitter-flood-generator is a JavaScript library. twitter-flood-generator has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.
Simple Command Line Utility for Generating Twitter Floods
Simple Command Line Utility for Generating Twitter Floods
Support
Quality
Security
License
Reuse
Support
twitter-flood-generator has a low active ecosystem.
It has 62 star(s) with 4 fork(s). There are 5 watchers for this library.
It had no major release in the last 6 months.
twitter-flood-generator has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of twitter-flood-generator is current.
Quality
twitter-flood-generator has no bugs reported.
Security
twitter-flood-generator has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
twitter-flood-generator does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
twitter-flood-generator releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of twitter-flood-generator
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of twitter-flood-generator
twitter-flood-generator Key Features
No Key Features are available at this moment for twitter-flood-generator.
twitter-flood-generator Examples and Code Snippets
No Code Snippets are available at this moment for twitter-flood-generator.
Community Discussions
No Community Discussions are available at this moment for twitter-flood-generator.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install twitter-flood-generator
Generating a Twitter flood is simple.
Clone the repo and run npm install in the root folder
Create a file named like twitter-keys.env and fill it with below info then source it with source twitter-keys.env using terminal. export TWITTER_CONSUMER_KEY=xxxx export TWITTER_CONSUMER_SECRET=xxxx export TWITTER_ACCESS_TOKEN_KEY=xxxx export TWITTER_ACCESS_TOKEN_SECRET=xxxx
Produce the text file including the Tweet. Text in a paragraph will be divided into 280 char-chunks and Tweeted however if you want a sentece to start a Tweet just use a new line before. Example, an input file like below will produce two Tweets although will fit to one due to new line This is the first line This is the second line In order to use media files, start a line in the input file with M:<image-file-path> and write the text that will be included with the image. If you would like to have no text with the image, do not add any text after the image input. This is the first line of a flood with media M:<resources/test-images/test-image-1.jpg>Text that goes with the image This is the third tweet indeed M:<resources/test-images/test-image-2.png>
Run below command to generate and post the Tweets. $ node main.js <file_name> Use -d option to see how Tweets like before posting it to twitter. $ node main.js -d <file_name> Use -r option to reply to an existing Tweet, useful when replying to somebody else or continuation of an old status. $ node main.js -r <status_id> -d <file_name> Use -m option to limit the number of characters per tweet if you think 280-chars are too many. $ node main.js -m 240 -d <file_name>
Create an env file (let's say twitter.env) that contains the following envs:.
Create an env file (let's say twitter.env) that contains the following envs: TWITTER_CONSUMER_KEY=xxxx TWITTER_CONSUMER_SECRET=xxxx TWITTER_ACCESS_TOKEN_KEY=xxxx TWITTER_ACCESS_TOKEN_SECRET=xxxx
Build the dockerfile of the project (Optional, you can use gsengun/twitter-flood image from DockerHub): $ docker build -f Dockerfile -t tfg . $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE tfg latest 7500a250bafa 1 hours ago 68.6MB
Let our text file mytext that needs to be posted on twitter be like: Ov yeah!
After building the image or just using existing docker image gsengun/twitter-flood, make a container Tweeting the text on twitter on behalf of you: $ docker run --rm --env-file twitter.env -v $(pwd)/mytext:/mytext tfg:latest /mytext Updating status: Ov yeah! $ docker run --rm --env-file twitter.env -v $(pwd)/mytext:/mytext gsengun/twitter-flood:latest /mytext Updating status: Ov yeah!
Clone the repo and run npm install in the root folder
Create a file named like twitter-keys.env and fill it with below info then source it with source twitter-keys.env using terminal. export TWITTER_CONSUMER_KEY=xxxx export TWITTER_CONSUMER_SECRET=xxxx export TWITTER_ACCESS_TOKEN_KEY=xxxx export TWITTER_ACCESS_TOKEN_SECRET=xxxx
Produce the text file including the Tweet. Text in a paragraph will be divided into 280 char-chunks and Tweeted however if you want a sentece to start a Tweet just use a new line before. Example, an input file like below will produce two Tweets although will fit to one due to new line This is the first line This is the second line In order to use media files, start a line in the input file with M:<image-file-path> and write the text that will be included with the image. If you would like to have no text with the image, do not add any text after the image input. This is the first line of a flood with media M:<resources/test-images/test-image-1.jpg>Text that goes with the image This is the third tweet indeed M:<resources/test-images/test-image-2.png>
Run below command to generate and post the Tweets. $ node main.js <file_name> Use -d option to see how Tweets like before posting it to twitter. $ node main.js -d <file_name> Use -r option to reply to an existing Tweet, useful when replying to somebody else or continuation of an old status. $ node main.js -r <status_id> -d <file_name> Use -m option to limit the number of characters per tweet if you think 280-chars are too many. $ node main.js -m 240 -d <file_name>
Create an env file (let's say twitter.env) that contains the following envs:.
Create an env file (let's say twitter.env) that contains the following envs: TWITTER_CONSUMER_KEY=xxxx TWITTER_CONSUMER_SECRET=xxxx TWITTER_ACCESS_TOKEN_KEY=xxxx TWITTER_ACCESS_TOKEN_SECRET=xxxx
Build the dockerfile of the project (Optional, you can use gsengun/twitter-flood image from DockerHub): $ docker build -f Dockerfile -t tfg . $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE tfg latest 7500a250bafa 1 hours ago 68.6MB
Let our text file mytext that needs to be posted on twitter be like: Ov yeah!
After building the image or just using existing docker image gsengun/twitter-flood, make a container Tweeting the text on twitter on behalf of you: $ docker run --rm --env-file twitter.env -v $(pwd)/mytext:/mytext tfg:latest /mytext Updating status: Ov yeah! $ docker run --rm --env-file twitter.env -v $(pwd)/mytext:/mytext gsengun/twitter-flood:latest /mytext Updating status: Ov yeah!
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page