Skip to content

project-spinoza/twitter-swiss-army-knife

Repository files navigation

Twitter Swiss Army Knife

twitter-swiss-army-knife v1.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 app prerequisites
  • edit tsak.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, run bash startup_gui.sh
  • Note: GUI mode may not support full options

Run in command line mode

  • create TSAK_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.sh Linux
    startup.bat Windows

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 visit setup
  • For detail description on available commands refer to command line usage
  • You need to have twitter's access key, token key to run TSAK, for details refer to tsak setup page
  • For API Documentation refer to doc

Available Tsak Commands detail 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 the Apache License Version 2.0

Questions or Suggestions

Email project.spinoza@gmail.com
Issues https://github.com/project-spinoza/twitter-swiss-army-knife/issues

Releases

No releases published

Packages

No packages published

Languages