Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple command line utility that allows a user to interact with Twitter's public API

License

NotificationsYou must be signed in to change notification settings

project-spinoza/twitter-swiss-army-knife

Repository files navigation

twitter-swiss-army-knifev1.0.0 is ready for release!!!

TSAK GUI

GUI

TSAK CMD

CMD

How to build and Run

Download

git clone https://github.com/project-spinoza/twitter-swiss-army-knife.git
OR
Download zip file -download

Build

Build with maven

  • run the following command from project's root directory:
    mvn clean package

Setup

  • create twitter appprerequisites
  • edittsak.properties file and enter your keys e.g.

    accessToken=[enter your access token here]
    consumerSecret=[enter your consumer secret key here]
    consumerKey=[enter your consumer key here]
    accessSecret=[enter your accessSecret key here]

Run in GUI mode

  • Inside project root directory, runbash startup_gui.sh
  • Note: GUI mode may not support full options

Run in command line mode

  • createTSAK_CONF environment variable and point it to the directory containing tsak.properties file
  • Inside project root directory, run one of the following startup file depending on the type of platform:
    bash startup.shLinux
    startup.batWindows

Run either of the available TSAK commands

Help

use option--help with tsak command to display command options e.g.
tsak dumpFollowerIDs --help

Note

  • For detailed setup visitsetup
  • For detail description on available commands refer tocommand line usage
  • You need to have twitter's access key, token key to run TSAK, for details refer totsak setup page
  • For API Documentation refer todoc

Available Tsak Commandsdetail usage

tsak dumpAccountSettings -o accountSettings.txt
tsak dumpFollowerIDs -uname ScreenName -limit 1 -o followerIDs.txt
tsak dumpFollowerIDs -uid 101010111 -o followerIDs.txt
tsak dumpFriendIDs -uname ScreenName -limit 1 -o friendIDs.txt
tsak dumpFriendIDs -uid 01010101 -limit 1 -o friendIDs.txt
tsak dumpUserTimeLine -uname ScreenName -limit 1 -o userTimeLine.txt
tsak dumpUserTimeLine -uid 101010111 -limit 1 -o userTimeLine.txt
tsak dumpHomeTimeLine -o homeTimeLine.txt
tsak dumpTweets -keywords "KEY words" -limit 1 -o tweets.txt
tsak dumpOwnRetweets -o ownRetweets.txt
tsak dumpStatus -sid 01010101 -o statuses.txt
tsak dumpRetweeters -sid 01010101 -o retweeters.txt
tsak dumpMentionsTimeLine -o mentionTimeline.txt
tsak dumpUsersLookup -i ids.txt -o lookup.txt
tsak dumpBlockList -o blocklists.txt
tsak searchUsers -keywords "Key Word" -o users.txt
tsak showFriendShip -suser ScreenName -tuser ScreenName -o friendship.txt
tsak dumpFriendsList -uname screenname -limit 1 -o friendsList.txt
tsak dumpFriendsList -uid 01010101 -limit 1 -o friendsList.txt
tsak dumpFollowersList -uname screenname -limit 1 -o followersList.txt
tsak dumpFollowersList -uid 010101 -limit 1 -o followersList.txt
tsak dumpFavourites -o favourites.txt
tsak dumpSugeestedUserCats -o catagories.txt
tsak dumpUserSuggestions -slug family -o userSuggestions.txt
tsak dumpMemberSuggestions -slug family -o memberSuggestions.txt
tsak dumpUserLists -uname screenName -o userLists.txt
tsak dumpUserLists -uid 010101 -o userLists.txt
tsak dumpListStatuses -lid 010101 -o listStatuses.txt
tsak dumpSavedSearches -o searches.txt
tsak lookupFriendShip -i ids.txt -o frndships.txt
tsak dumpIncomingFriendships -limit 1 -o incomingFriendships.txt
tsak dumpOutgoingFriendships -limit 1 -o outgoingFriendships.txt
tsak dumpGeoDetails -pid 00685eca27fbd26b -o ginfo.txt
tsak dumpSimilarPlaces -lat 51.5072 -long 0.1275 -pname london -o similarPlaces.txt
tsak searchPlace -lat 51.5072 -long 0.1275 -o place.txt
tsak dumpAvailableTrends -o availableTrends.txt
tsak dumpPlaceTrends -woeid 010101 -o placeTrends.txt
tsak dumpClosestTrends -lat 0.0 -long 0.0 -o closestTrends.txt
tsak dumpMutesIDs -limit 1 -o mutes.txt
tsak dumpUserListMemberships -uname screenName -limit 1 -o listMemberships.txt
tsak dumpUserListMemberships -uid 010101 -limit 1 -o listMemberships.txt
tsak dumpUserListSubscribers -lid 02020202 -limit 1 -o listSubscribers.txt
tsak dumpUserListMembers -lid 02020202 -limit 1 -o listMembers.txt
tsak dumpUserListSubscriptions -uname screenName -limit 1 -o listSubscription.txt
tsak streamStatuses -keywords "iPhone" -show -o streamsOut.txt

License

The code is licensed under theApache License Version 2.0

Questions or Suggestions

Emailproject.spinoza@gmail.com
Issueshttps://github.com/project-spinoza/twitter-swiss-army-knife/issues

About

A simple command line utility that allows a user to interact with Twitter's public API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors8

Languages


[8]ページ先頭

©2009-2025 Movatter.jp