()
| 6 | public class Utils { |
| 7 | |
| 8 | public static TwitterClient twitterClient() { |
| 9 | |
| 10 | return new TwitterClient(TwitterCredentials.builder() |
| 11 | .accessToken(ReadProperty.getValue("tw.accessToken")) |
| 12 | .accessTokenSecret(ReadProperty.getValue("tw.accessTokenSecret")) |
| 13 | .apiKey(ReadProperty.getValue("tw.apiKey")) |
| 14 | .apiSecretKey(ReadProperty.getValue("tw.apiSecretKey")) |
| 15 | .build()); |
| 16 | } |
| 17 | } |