readme.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Twitter4J example scripts
  2. Follow the below steps to run the examples:
  3. 1. configure consumer key / secret
  4. Go to https://dev.twitter.com/, register an app and get your app's consumer key/secret pair at https://dev.twitter.com/apps/[appid]/show.
  5. Save those values to twitter4j.properties
  6. 2. run getAccessToken.sh/cmd
  7. run getAccessToken.sh/cmd and follow the instruction and get your access token.
  8. Access token will be stored in twitter4j.properties
  9. 3. run examples you want.
  10. Now OAuth credentials are ready.
  11. You can run any examples.
  12. - Files in this directory
  13. getAccessToken.sh/cmd - script to acquire OAuth access token. need to run before executing examples that requires authorization.
  14. logback.xml - logging configuration. see http://logback.qos.ch/manual/configuration.html for the detail.
  15. readme.txt - this file
  16. setEnv.sh/cmd - script configures JAVA_HOME end classpath system variables
  17. twitter4j.properties - Twitter4J configuration
  18. - Directory structure
  19. account/ - Account resources examples
  20. async/ - Async API examples
  21. block/ - Block resources examples
  22. directmessage/ - Direct Message resources examples
  23. favorite/ - Favorite resources examples
  24. friendsandfollowers/ - Friends and Followers resources examples
  25. friendship/ - Friendship resources examples
  26. geo/ - Geo resources examples
  27. help/ - Help resources examples
  28. json/ - Raw JSON handling examples
  29. legal/ - Legal resources examples
  30. list/ - List resources examples
  31. listmembers/ - List Members resources examples
  32. listsubscribers/ - List Subscribers resources examples
  33. misc/ - resources examples
  34. notification/ - Miscellaneous resources examples
  35. savedsearches/ - Saved Searches resources examples
  36. search/ - resources examples
  37. spamreporting/ - Spam Reporting resources examples
  38. stream/ - Streamed Tweets resources examples
  39. timeline/ - Timeline resources examples
  40. trends/ - Trends resources examples
  41. tweets/ - Tweets resources examples
  42. user/ - User resources examples