twitter-auto-post-image

1.0.0 • Public • Published

Twitter-Auto-Post-Image is a nodejs package to post image on twitter using browser automation. It currently runs only on windows.

Installation

npm install twitter-auto-post-image

Example

In this example we first import package, then we login with cookies and then post image on twitter.

var twitter=require("twitter-auto-post-image");

function tweet(){
	twitter.post_image('C:/Users/image.png', 'Good Morning')
}
twitter.login_cookie(cookie_list,tweet)

DataKund

datakund is needed for browser automation. As soon as this package is imported in code, automated browser will open up.

Import

var twitter=require("twitter-auto-post-image");

Login with credentials

twitter.login(username,password)

Login with cookies

twitter.login_cookie(list_of_cookies)

Tweet

twitter.post_image('image path', 'tweet text')

Cookies

To login with cookies Edit this Cookie Extension can be added to browser

Contact Us

/twitter-auto-post-image/

    Package Sidebar

    Install

    npm i twitter-auto-post-image

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    1.8 kB

    Total Files

    3

    Last publish

    Collaborators

    • datakund