MCPcopy Create free account
hub / github.com/Philipinho/GetVideoBot / Utils

Class Utils

src/main/java/utils/Utils.java:6–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import io.github.redouane59.twitter.signature.TwitterCredentials;
5
6public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected