From 594f0c977caafd85de8f8e8fcb906162a53690dd Mon Sep 17 00:00:00 2001 From: Redouane59 Date: Wed, 12 Jan 2022 18:41:17 +0100 Subject: [PATCH 1/2] feat: add geo id to all_expansions --- .../java/io/github/redouane59/twitter/TwitterClient.java | 2 +- test-twitter-credentials.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/io/github/redouane59/twitter/TwitterClient.java b/src/main/java/io/github/redouane59/twitter/TwitterClient.java index d7e39463..b7e5e288 100644 --- a/src/main/java/io/github/redouane59/twitter/TwitterClient.java +++ b/src/main/java/io/github/redouane59/twitter/TwitterClient.java @@ -108,7 +108,7 @@ public class TwitterClient implements ITwitterClientV1, ITwitterClientV2, ITwitt public static final String EXPANSION = "expansions"; public static final String ALL_EXPANSIONS = - "author_id,entities.mentions.username,in_reply_to_user_id,referenced_tweets.id,referenced_tweets.id.author_id,attachments.media_keys"; + "author_id,entities.mentions.username,in_reply_to_user_id,referenced_tweets.id,referenced_tweets.id.author_id,attachments.media_keys,geo.place_id"; public static final String USER_FIELDS = "user.fields"; public static final String ALL_USER_FIELDS = "id,created_at,entities,username,name,location,url,verified,profile_image_url,public_metrics,pinned_tweet_id,description,protected"; diff --git a/test-twitter-credentials.json b/test-twitter-credentials.json index 151918b7..5099b7e6 100644 --- a/test-twitter-credentials.json +++ b/test-twitter-credentials.json @@ -1,6 +1,6 @@ { - "apiKey": "REPLACE ME", - "apiSecretKey": "REPLACE ME", - "accessToken": "REPLACE_ME", - "accessTokenSecret": "REPLACE ME" + "apiKey": "utedWk4Y0NO1KMspEoh9Vc5Wo", + "apiSecretKey": "3vhsRiLkELY11fKAVxU6nJE0aGIgCTHzHcKIXg5pfA88A4PDbP", + "accessToken": "1120050519182016513-L9rwaxCIyfihnDUGu7dwGX7H76IGf9", + "accessTokenSecret": "tbqBxrAiEyEpopwYwNqJAZ80ukh1kEmXOWE8c5V46dNq6" } \ No newline at end of file From a9b6a1b871c0b459e90929ab7edd297906657add Mon Sep 17 00:00:00 2001 From: Redouane59 Date: Wed, 12 Jan 2022 18:51:25 +0100 Subject: [PATCH 2/2] push c --- test-twitter-credentials.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test-twitter-credentials.json b/test-twitter-credentials.json index 5099b7e6..f8233470 100644 --- a/test-twitter-credentials.json +++ b/test-twitter-credentials.json @@ -1,6 +1,6 @@ { - "apiKey": "utedWk4Y0NO1KMspEoh9Vc5Wo", - "apiSecretKey": "3vhsRiLkELY11fKAVxU6nJE0aGIgCTHzHcKIXg5pfA88A4PDbP", - "accessToken": "1120050519182016513-L9rwaxCIyfihnDUGu7dwGX7H76IGf9", - "accessTokenSecret": "tbqBxrAiEyEpopwYwNqJAZ80ukh1kEmXOWE8c5V46dNq6" + "apiKey": "REPLACE ME", + "apiSecretKey": "REPLACE ME", + "accessToken": "REPLACE ME", + "accessTokenSecret": "REPLACE ME" } \ No newline at end of file