Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions x-api/tools-and-libraries/sdks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ The methods provided within the library client are clearly named to correspond w
Here is an example of Post lookup by ID:

<Tabs>
<Tab title="JavaScript">
```js
<Tab title="Java">
```java
String id = "1511757922354663425"; // String | A single Tweet ID.
Set<String> expansions = new HashSet<>(Arrays.asList("author_id")); // Set<String> | A comma separated list of fields to expand.
Set<String> tweetFields = new HashSet<>(Arrays.asList("created_at", "lang", "context_annotations")); // Set<String> | A comma separated list of Tweet fields to display.
Expand Down