From f6295334b04a04e0b6b7d02479a8d7a46fbf27c2 Mon Sep 17 00:00:00 2001 From: anujs3 Date: Wed, 25 Nov 2026 17:43:00 -0800 Subject: [PATCH] Clarify the Sample App README Use shorter sentences and clearer steps to describe the sample app. --- README.md | 91 +++++++-------------- postman/threads-api.postman_collection.json | 60 +++++++------- 2 files changed, 61 insertions(+), 90 deletions(-) diff --git a/README.md b/README.md index e95d2e4..01c7094 100644 --- a/README.md +++ b/README.md @@ -1,73 +1,44 @@ -# Threads Publishing API Sample App +# Threads API Sample App -> ⚠️ We will update the sample app over time. Please note that all of the latest features may not be demonstrated in the sample app. Please refer to the [developer documentation changelog](https://developers.facebook.com/docs/threads/changelog) for the most up-to-date features. - -You can use this Sample App to test the [Threads API](https://developers.facebook.com/docs/threads). - -1. Make sure that you are using the APP ID and Secret defined for the Threads API of your app. These ARE not the same as the regular app ID and app secret. -2. Make sure you add your application's redirect URL e.g. https://threads-sample.meta:8000/callback, to your app's redirect callback URLs in the app dashboard. +Use this sample app to try the [Threads API](https://developers.facebook.com/documentation/threads). We update the app over time, so it may not cover the latest features. See the [Developer Documentation Changelog](https://developers.facebook.com/documentation/threads/changelog) for the latest API updates. ## Features -- **Login and Account:** Sign in through the Threads oAuth flow and exchange short-lived tokens for long-lived tokens. Authenticated requests use the Threads app-scoped user ID returned during sign-in. View your profile details and sign out. -- **Publishing:** Publish text, image, video, and carousel posts. This sample accepts up to 20 media attachments per post. Carousel items are numbered in their current order and renumbered when an item is removed. Check container status before publishing. You can also publish text posts automatically during the container creation phase. -- **Publishing Options:** Add topic tags, link attachments, alt text, and polls. Link and poll controls are hidden and disabled while media is attached. Removing the last media item restores them. Mark text or media as spoilers. Create temporary ghost posts that automatically expire. Choose who can reply by setting the reply audience. -- **Replies, Quotes, and Reposts:** Create replies and quote posts, or repost an existing post. -- **Post Browsing:** View your posts, your replies, and posts that mention you. Open individual post details, direct replies, and full conversations. Browse available result pages. -- **Reply Management:** The direct-replies view includes controls to Hide and Unhide replies. -- **Search:** Search by keyword or topic tag with Top or Recent results. Filter by date, media type, and author username. Set the page size. Search state is retained through paging and errors. Results show returned topic tags and dates in your browser’s local timezone. Read the [Search Guide](https://developers.facebook.com/documentation/threads/keyword-search) for parameters and limits. -- **Public Profiles:** Look up a public profile, view its details, and browse its posts. -- **Post Insights:** See post metrics for views, likes, replies, reposts, quotes, and shares. -- **User Insights:** See account metrics for views, likes, replies, reposts, quotes, clicks, and follower count. The page includes date range filters. -- **Quotas:** View API usage for publishing, replies, deletion, and location search. Use Refresh Counts to reload the reported usage. The page also reloads when you return to its tab or restore it from browser history. -- **Token Debugging:** Inspect the access token's application name, granted permissions, app-scoped user ID, issued timestamp, and expiration date. -- **Post and Profile Embeds:** Preview a public Threads post or profile without an access token. Choose Light, Dark, or Auto for the embed theme. Auto follows the viewer's display settings. -- **Deletion:** Use the trash button on your posts list or post details page to delete a post you own. Confirm the warning to continue. The sample app checks that you own the post. You return to your remaining posts only after the API confirms success. This action cannot be undone, and reposts are unsupported. The route allows 10 requests per minute per IPv4 address or IPv6 subnet within one app process. Use a test app and test user. View [Delete Posts](https://developers.facebook.com/documentation/threads/posts/delete-posts) for permissions and limits. -- **Postman Collection:** Use the public [Threads Postman Collection](https://www.postman.com/meta/threads/overview) or import `postman/threads-api.postman_collection.json` into Postman. Set `user_id` to the app-scoped ID for your access token, using the profile request to look it up if needed. The token exchange and profile lookup save it when `auto_save_variables` is enabled. - -## Required software - -In order to run the Sample App you will need to install some required software, as follows: - -- Node.js 18 or later - -## Running the Sample App - -Note: If you are using devcontainers, ensure that containers are enabled and supported by your IDE. - -1. Install necessary tools - - - If you are using a [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers), skip to step 2. - - Install [nodeJS](https://nodejs.org/en/download/) to run the application. If you're using a Mac, you can install it via Homebrew: `brew install node` - - Install [mkcert](https://mkcert.org/) to create the OpenSSL Certificate. If you're using a Mac, you can install it via Homebrew: `brew install mkcert` +- **Login and Account:** Sign in with Threads. View your profile details or sign out. +- **Publishing:** Publish text, image, video, and carousel posts. +- **Publishing Options:** Add topic tags, link attachments, alt text, and polls. Set the reply audience, add spoilers, or create ghost posts. +- **Replies, Quotes, and Reposts:** Reply to, quote, or repost an existing post. +- **Post Browsing:** Browse your posts, your replies, and posts that mention you. View post details and conversations. +- **Reply Management:** Hide or unhide replies in the direct-replies view. +- **Search:** Search by keyword or topic tag. Choose Top or Recent results. Filter by date, media type, and author. See the [Search Guide](https://developers.facebook.com/documentation/threads/keyword-search) for parameters and limits. +- **Public Profiles:** Look up a public profile. Browse its posts. +- **Post Insights:** View post metrics. Filter by date. +- **User Insights:** View account metrics. Filter by date. +- **Quotas:** View API usage. Refresh the reported counts. +- **Token Debugging:** Inspect an access token's permissions and expiration date. +- **Post and Profile Embeds:** Preview public Threads post or profile embeds in light or dark mode. +- **Deletion:** Delete a post you own from the posts list or post details page. Confirm the warning to continue. Deletion cannot be undone. Use a test app and test user. See [Delete Posts](https://developers.facebook.com/documentation/threads/posts/delete-posts) for permissions and limits. +- **Postman Collection:** Use the public [Threads Postman Collection](https://www.postman.com/meta/threads/overview) or import `postman/threads-api.postman_collection.json` into Postman. -2. Run `npm install` in your terminal +## Required Software -3. Create a new file called `.env` and copy/paste all the environment variables from `.env.template`. Replace any environnment variables that have placeholders, such as APP_ID. +Use Node.js 18 or later. You also need `mkcert` to generate a local HTTPS certificate. If you use the included devcontainer, make sure your IDE supports devcontainers. Enable them before starting. -4. Map a domain to your local machine for local development +## Run the Sample App - - Note: Threads apps do not support redirect URLs with using `localhost` so you must map a domain to test locally this Sample App. - - Map a new entry in your hosts file to the domain that you will use to test the Sample App e.g. `threads-sample.meta`. - - If you're using a Linux or Mac, this will be your `/etc/hosts` file. - - Add an entry like so: - ``` - 127.0.0.1 threads-sample.meta - ``` - - This will map threads-sample.meta to localhost, so you may visit https://threads-sample.meta:8000 to see the Threads Sample App. - - This domain must match the one defined in your `.env` file as the value of the `HOST` variable. +1. Install [Node.js](https://nodejs.org/en/download/) and [mkcert](https://mkcert.org/). On macOS with Homebrew, run `brew install node`. Then run `brew install mkcert`. If you use the included [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers), skip to step 2. +2. Run `npm install` in the sample app directory. +3. Create a new file called `.env` and copy/paste all the environment variables from `.env.template`. Replace the placeholder values. Set `APP_ID` and `API_SECRET` to the Threads app ID and secret from your app dashboard. These differ from the regular app ID and secret. Add the full `REDIRECT_URI`, such as `https://threads-sample.meta:8000/callback`, to your app’s redirect callback URLs. +4. Map your local domain to `127.0.0.1`. Threads apps do not accept `localhost` in redirect URLs. On Linux or macOS, add this entry to `/etc/hosts`: -5. Create an OpenSSL Cert + ```text + 127.0.0.1 threads-sample.meta + ``` - - OAuth redirects are only supported over HTTPS so you must create an SSL certificate - - `mkcert threads-sample.meta` - This will create pem files for SSL. - - You will see `threads-sample.meta.pem` and `threads-sample.meta-key.pem `files generated. - - If you are using a host that is different than `threads-sample.meta` then replace it with your specific domain. + Use the same domain for `HOST` in `.env`. If you use a different domain or port, update `HOST` or `PORT` as needed. Make sure `REDIRECT_URI` and the registered callback URL match. -6. Run the Sample App - - Run `npm start` from the command line. - - Once the Sample App starts running, go to https://threads-sample.meta:8000 to test the workflow. - - If you are using a different domain or port then replace those values accordingly. +5. Run `mkcert threads-sample.meta` from the sample app directory. OAuth redirects require HTTPS. The command creates `threads-sample.meta.pem` and `threads-sample.meta-key.pem`. If you chose a different domain, use it in the command instead. +6. Run `npm start`. Open https://threads-sample.meta:8000 once the app starts. If you chose a different domain or port, use those values in the URL. ## Checks @@ -86,4 +57,4 @@ GitHub Actions runs these checks for pull requests. It also runs them for pushes ## License -Threads API is Meta Platform Policy licensed, as found in the LICENSE file. +See [LICENSE](LICENSE) for the software license and the platform policy that applies to its use. diff --git a/postman/threads-api.postman_collection.json b/postman/threads-api.postman_collection.json index b10d5bb..f282d10 100644 --- a/postman/threads-api.postman_collection.json +++ b/postman/threads-api.postman_collection.json @@ -2,7 +2,7 @@ "info": { "_postman_id": "a93be385-2264-4766-826f-b53cb6f50d7e", "name": "Threads API", - "description": "> ⚠️ We will update the Postman collection over time. Please note that all of the latest features may not be showcased in the Postman collection. Please refer to the developer documentation changelog for the most up-to-date features: [https://developers.facebook.com/docs/threads/changelog](https://developers.facebook.com/docs/threads/changelog) \n \n\nWelcome to the Threads API from Meta. This collection contains the [Graph API](https://developers.facebook.com/docs/graph-api/) requests to create, manage, and publish Threads content, programmatically. For the full Threads documentation, refer to the [developer documentation](https://developers.facebook.com/docs/threads).\n\n# Getting Started\n\n## Step 1 - Create a Meta App\n\nYou need to [create a Meta app with the Threads use case](https://developers.facebook.com/docs/threads/get-started#meta-app).\n\n## Step 2 - Enable App Users To Authorize Data Access To Your App\n\nApp users must authorize data access for the app you are developing. Ensure that proper authorization protocols are implemented to comply with data privacy and security requirements. For detailed instructions and guidelines, refer to the [authorization documentation](https://developers.facebook.com/docs/threads/get-started#authorization).\n\n## Step 3 - Request an Access Token\n\n### API Provisioned Token\n\nTo request an access token via the API, use the requests under the _**Authorization**_ folder within this collection. See the [Threads User Access Tokens](https://developers.facebook.com/docs/threads/get-started#threads-user-access-tokens) section in the Threads API documentation for details on authenticating your requests. Once you have an access token, you will need to manually add the **access_token** header to your requests with this value.\n\nNote: You can receive an access token for your requests either by using the requests under the _**Authorization**_ folder within this collection, or by using the _Authorization_ tab above in which the token will be provisioned by Postman.\n\n### Postman Provisioned Token\n\nIf using the _Authorization_ tab to receive an access token, make sure to include the following:\n\n- The Grant type must be set to **Authorization Code**.\n \n- You must supply the values for your Auth URL, Access Token URL, Client ID (your Threads app's ID), Client Secret (your Threads app's secret), and Scope.\n \n\nAfter these values are entered, you may press **Get New Access Token** at the bottom of the page to receive an access token. This access token will automatically be attached to your requests.\n\n### Access Token Debugger\n\nYou can paste any token you generate into the [access token debugger](https://developers.facebook.com/tools/debug/accesstoken/) to see what type of token it is and what permissions you have granted to your app.\n\n# Limitations\n\nPlease be aware that certain limitations may apply to the API usage. For the most accurate and up-to-date details, we strongly recommend referring to the online documentation. Visit the [developer documentation](https://developers.facebook.com/docs/threads/overview#rate-limiting) for more information.\n\n# Using Variables\n\nWhen using variables in requests (see the _Variables_ tab above), make sure to **save the updated values** after modifying them (e.g. with Ctrl-S / Cmd-S). The values must be saved in the _Variables_ tab each time they are modified.\n\n# Autosaving Variables\n\nVariable values may be auto-updated and saved after a request. For example, when a new thread is published, the _thread_id_ field can be auto-updated with the new thread ID to be used in retrieval requests.\n\nTo use this feature, make sure to **set the auto_save_variables variable value to true**. Otherwise, variables will not be auto-updated and you will need to update them manually.\n\n# Installation\n\nFork this collection into Postman to start using the Threads API.\n\nYou can generate the code for the API calls in your language by following the steps here: [https://learning.postman.com/docs/sending-requests/generate-code-snippets/#generating-code-snippets-in-postman](https://learning.postman.com/docs/sending-requests/generate-code-snippets/#generating-code-snippets-in-postmanEnvironmentChangelogUpdates)", + "description": "> ⚠️ We will update the Postman collection over time. Please note that all of the latest features may not be showcased in the Postman collection. Please refer to the developer documentation changelog for the most up-to-date features: [https://developers.facebook.com/documentation/threads/changelog](https://developers.facebook.com/documentation/threads/changelog) \n \n\nWelcome to the Threads API from Meta. This collection contains the [Graph API](https://developers.facebook.com/documentation/graph-api/) requests to create, manage, and publish Threads content, programmatically. For the full Threads documentation, refer to the [developer documentation](https://developers.facebook.com/documentation/threads).\n\n# Getting Started\n\n## Step 1 - Create a Meta App\n\nYou need to [create a Meta app with the Threads use case](https://developers.facebook.com/documentation/threads/get-started#meta-app).\n\n## Step 2 - Enable App Users To Authorize Data Access To Your App\n\nApp users must authorize data access for the app you are developing. Ensure that proper authorization protocols are implemented to comply with data privacy and security requirements. For detailed instructions and guidelines, refer to the [authorization documentation](https://developers.facebook.com/documentation/threads/get-started#authorization).\n\n## Step 3 - Request an Access Token\n\n### API Provisioned Token\n\nTo request an access token via the API, use the requests under the _**Authorization**_ folder within this collection. See the [Threads User Access Tokens](https://developers.facebook.com/documentation/threads/get-started#threads-user-access-tokens) section in the Threads API documentation for details on authenticating your requests. Once you have an access token, you will need to manually add the **access_token** header to your requests with this value.\n\nNote: You can receive an access token for your requests either by using the requests under the _**Authorization**_ folder within this collection, or by using the _Authorization_ tab above in which the token will be provisioned by Postman.\n\n### Postman Provisioned Token\n\nIf using the _Authorization_ tab to receive an access token, make sure to include the following:\n\n- The Grant type must be set to **Authorization Code**.\n \n- You must supply the values for your Auth URL, Access Token URL, Client ID (your Threads app's ID), Client Secret (your Threads app's secret), and Scope.\n \n\nAfter these values are entered, you may press **Get New Access Token** at the bottom of the page to receive an access token. This access token will automatically be attached to your requests.\n\n### Access Token Debugger\n\nYou can paste any token you generate into the [access token debugger](https://developers.facebook.com/tools/debug/accesstoken/) to see what type of token it is and what permissions you have granted to your app.\n\n# Limitations\n\nPlease be aware that certain limitations may apply to the API usage. For the most accurate and up-to-date details, we strongly recommend referring to the online documentation. Visit the [developer documentation](https://developers.facebook.com/documentation/threads/overview#rate-limiting) for more information.\n\n# Using Variables\n\nWhen using variables in requests (see the _Variables_ tab above), make sure to **save the updated values** after modifying them (e.g. with Ctrl-S / Cmd-S). The values must be saved in the _Variables_ tab each time they are modified.\n\n# Autosaving Variables\n\nVariable values may be auto-updated and saved after a request. For example, when a new thread is published, the _thread_id_ field can be auto-updated with the new thread ID to be used in retrieval requests.\n\nTo use this feature, make sure to **set the auto_save_variables variable value to true**. Otherwise, variables will not be auto-updated and you will need to update them manually.\n\n# Installation\n\nFork this collection into Postman to start using the Threads API.\n\nYou can generate the code for the API calls in your language by following the steps here: [https://learning.postman.com/docs/sending-requests/generate-code-snippets/#generating-code-snippets-in-postman](https://learning.postman.com/docs/sending-requests/generate-code-snippets/#generating-code-snippets-in-postmanEnvironmentChangelogUpdates)", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "34767301", "_collection_link": "https://www.postman.com/meta/threads/collection/dht3nzz/threads-api?action=share&source=collection_link&creator=29882223" @@ -60,7 +60,7 @@ } ] }, - "description": "Once you receive a code, exchange it for a short-lived access token by sending a `POST` request to the /oauth/access_token [endpoint](https://developers.facebook.com/docs/threads/get-started/get-access-tokens-and-permissions#step-2--exchange-the-code-for-a-token)" + "description": "Once you receive a code, exchange it for a short-lived access token by sending a `POST` request to the /oauth/access_token [endpoint](https://developers.facebook.com/documentation/threads/get-started/get-access-tokens-and-permissions#step-2--exchange-the-code-for-a-token)" }, "response": [ { @@ -197,7 +197,7 @@ } ] }, - "description": "Use the `GET` /access_token [endpoint](https://developers.facebook.com/docs/threads/get-started/long-lived-tokens#get-a-long-lived-token) to exchange a short-lived Threads user access token for a long-lived token." + "description": "Use the `GET` /access_token [endpoint](https://developers.facebook.com/documentation/threads/get-started/long-lived-tokens#get-a-long-lived-token) to exchange a short-lived Threads user access token for a long-lived token." }, "response": [ { @@ -388,7 +388,7 @@ ] } ], - "description": "Authorization is a required step to get the necessary user permissions to act on behalf of the user. Please take a look at the [walkthrough of the authentication process](https://developers.facebook.com/docs/threads/get-started/get-access-tokens-and-permissions). Once the access token is retrieved, use the [access token debugger](https://developers.facebook.com/tools/debug/accesstoken) to check if the access token has the correct permissions (including `threads_basic`, `threads_content_publish`, `threads_read_replies`, `threads_manage_replies`, `threads_manage_insights`) and verify that the access token hasn't expired.\n\nFollow the [documentation](https://developers.facebook.com/docs/threads/get-started/long-lived-tokens) to exchange a short-lived Threads User Access Token for a long-lived token and refresh unexpired long-lived Threads User Access tokens. **Note:** The `threads_basic` permission is sufficient for the exchange or refresh process." + "description": "Authorization is a required step to get the necessary user permissions to act on behalf of the user. Please take a look at the [walkthrough of the authentication process](https://developers.facebook.com/documentation/threads/get-started/get-access-tokens-and-permissions). Once the access token is retrieved, use the [access token debugger](https://developers.facebook.com/tools/debug/accesstoken) to check if the access token has the correct permissions (including `threads_basic`, `threads_content_publish`, `threads_read_replies`, `threads_manage_replies`, `threads_manage_insights`) and verify that the access token hasn't expired.\n\nFollow the [documentation](https://developers.facebook.com/documentation/threads/get-started/long-lived-tokens) to exchange a short-lived Threads User Access Token for a long-lived token and refresh unexpired long-lived Threads User Access tokens. **Note:** The `threads_basic` permission is sufficient for the exchange or refresh process." }, { "name": "Post to Threads", @@ -510,7 +510,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/posts#step-1--create-a-threads-media-container) to create a text container." + "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/posts#step-1--create-a-threads-media-container) to create a text container." }, "response": [ { @@ -686,7 +686,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/posts#step-1--create-a-threads-media-container) to create an image container." + "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/posts#step-1--create-a-threads-media-container) to create an image container." }, "response": [ { @@ -855,7 +855,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/posts#step-1--create-a-threads-media-container) to create a video container." + "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/posts#step-1--create-a-threads-media-container) to create a video container." }, "response": [ { @@ -973,7 +973,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/docs/threads/posts#step-2--publish-a-threads-media-container) to publish the container ID returned in the previous step." + "description": "Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/documentation/threads/posts#step-2--publish-a-threads-media-container) to publish the container ID returned in the previous step." }, "response": [ { @@ -1082,7 +1082,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/posts#step-1--create-an-item-container) to create an image container for the image that will appear in a carousel." + "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/posts#step-1--create-an-item-container) to create an image container for the image that will appear in a carousel." }, "response": [ { @@ -1200,7 +1200,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/posts#step-1--create-an-item-container) to create a video container for the video that will appear in a carousel." + "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/posts#step-1--create-an-item-container) to create a video container for the video that will appear in a carousel." }, "response": [ { @@ -1344,7 +1344,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/posts#step-2--create-a-carousel-container) to create a carousel container." + "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/posts#step-2--create-a-carousel-container) to create a carousel container." }, "response": [ { @@ -1457,7 +1457,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/docs/threads/posts#step-3--publish-the-carousel-container) to publish a carousel post." + "description": "Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/documentation/threads/posts#step-3--publish-the-carousel-container) to publish a carousel post." }, "response": [ { @@ -1570,7 +1570,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/posts#step-1--create-a-threads-media-container) to create a text container." + "description": "Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/posts#step-1--create-a-threads-media-container) to create a text container." }, "response": [ { @@ -1677,7 +1677,7 @@ } ] }, - "description": "Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/docs/threads/posts#step-2--publish-a-threads-media-container) to publish the container ID returned in the previous step." + "description": "Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/documentation/threads/posts#step-2--publish-a-threads-media-container) to publish the container ID returned in the previous step." }, "response": [ { @@ -1755,7 +1755,7 @@ "repost" ] }, - "description": "Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/docs/threads/posts#step-2--publish-a-threads-media-container) to publish the container ID returned in the previous step." + "description": "Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/documentation/threads/posts#step-2--publish-a-threads-media-container) to publish the container ID returned in the previous step." }, "response": [ { @@ -1982,7 +1982,7 @@ } ] }, - "description": "Use the `GET` /{threads-user-id}?fields=id,username,... [endpoint](https://developers.facebook.com/docs/threads/threads-profiles#retrieve-a-threads-user-s-profile-information) to return profile information about a Threads user." + "description": "Use the `GET` /{threads-user-id}?fields=id,username,... [endpoint](https://developers.facebook.com/documentation/threads/threads-profiles#retrieve-a-threads-user-s-profile-information) to return profile information about a Threads user." }, "response": [ { @@ -2100,7 +2100,7 @@ } ] }, - "description": "Use the `GET` /{threads-media-id} [endpoint](https://developers.facebook.com/docs/threads/threads-media#retrieve-a-single-threads-media-object) to return an individual Threads media object." + "description": "Use the `GET` /{threads-media-id} [endpoint](https://developers.facebook.com/documentation/threads/threads-media#retrieve-a-single-threads-media-object) to return an individual Threads media object." }, "response": [ { @@ -2190,7 +2190,7 @@ } ] }, - "description": "Use the `GET` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/threads-media#retrieve-a-list-of-all-a-user-s-threads) to return a paginated list of all threads created by a user." + "description": "Use the `GET` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/threads-media#retrieve-a-list-of-all-a-user-s-threads) to return a paginated list of all threads created by a user." }, "response": [ { @@ -2354,7 +2354,7 @@ } ] }, - "description": "Use `GET` /replies [endpoint](https://developers.facebook.com/docs/threads/reply-management#replies) to fetch a paginated list of all top-level replies." + "description": "Use `GET` /replies [endpoint](https://developers.facebook.com/documentation/threads/reply-management#replies) to fetch a paginated list of all top-level replies." }, "response": [ { @@ -2431,7 +2431,7 @@ } ] }, - "description": "Use `GET` /pending_replies [endpoint](https://developers.facebook.com/docs/threads/reply-management#retrieve-pending-replies) to fetch a paginated list of all pending replies." + "description": "Use `GET` /pending_replies [endpoint](https://developers.facebook.com/documentation/threads/reply-management#retrieve-pending-replies) to fetch a paginated list of all pending replies." }, "response": [ { @@ -2508,7 +2508,7 @@ } ] }, - "description": "Use `GET` /conversation [endpoint](https://developers.facebook.com/docs/threads/reply-management#conversations) to fetch a paginated and flattened list of all top-level and nested replies." + "description": "Use `GET` /conversation [endpoint](https://developers.facebook.com/documentation/threads/reply-management#conversations) to fetch a paginated and flattened list of all top-level and nested replies." }, "response": [ { @@ -2575,7 +2575,7 @@ } ] }, - "description": "Use `POST` /manage_reply [endpoint](https://developers.facebook.com/docs/threads/reply-management#hide-replies) to hide/unhide any top-level replies." + "description": "Use `POST` /manage_reply [endpoint](https://developers.facebook.com/documentation/threads/reply-management#hide-replies) to hide/unhide any top-level replies." }, "response": [ { @@ -2637,7 +2637,7 @@ } ] }, - "description": "Use `POST` /manage_pending_reply [endpoint](https://developers.facebook.com/docs/threads/reply-management#manage-pending-replies) to approve or ignore pending replies." + "description": "Use `POST` /manage_pending_reply [endpoint](https://developers.facebook.com/documentation/threads/reply-management#manage-pending-replies) to approve or ignore pending replies." }, "response": [ { @@ -2709,7 +2709,7 @@ } ] }, - "description": "Use the [reply_to_id ](https://developers.facebook.com/docs/threads/reply-management#respond-to-replies) parameter to reply to a specific reply under the root post." + "description": "Use the [reply_to_id ](https://developers.facebook.com/documentation/threads/reply-management#respond-to-replies) parameter to reply to a specific reply under the root post." }, "response": [ { @@ -2791,7 +2791,7 @@ } ] }, - "description": "Use the [reply_control](https://developers.facebook.com/docs/threads/reply-management#control-who-can-reply) parameter to specify who can reply to a post being created for publishing." + "description": "Use the [reply_control](https://developers.facebook.com/documentation/threads/reply-management#control-who-can-reply) parameter to specify who can reply to a post being created for publishing." }, "response": [ { @@ -2891,7 +2891,7 @@ } ] }, - "description": "Use the `GET` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/threads-media#retrieve-a-list-of-all-a-user-s-threads) to return a paginated list of all threads created by a user." + "description": "Use the `GET` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/documentation/threads/threads-media#retrieve-a-list-of-all-a-user-s-threads) to return a paginated list of all threads created by a user." }, "response": [ { @@ -3036,7 +3036,7 @@ } ] }, - "description": "Use the `GET` /{threads-media-id}/insights [endpoint](https://developers.facebook.com/docs/threads/insights#media-insights) to return the insights of a given Threads post." + "description": "Use the `GET` /{threads-media-id}/insights [endpoint](https://developers.facebook.com/documentation/threads/insights#media-insights) to return the insights of a given Threads post." }, "response": [ { @@ -3097,7 +3097,7 @@ } ] }, - "description": "Use the `GET` /{threads-user-id}/threads_insights [endpoint](https://developers.facebook.com/docs/threads/insights#user-insights) to return the insights of a given Threads user." + "description": "Use the `GET` /{threads-user-id}/threads_insights [endpoint](https://developers.facebook.com/documentation/threads/insights#user-insights) to return the insights of a given Threads user." }, "response": [ { @@ -3470,7 +3470,7 @@ } ] }, - "description": "Use `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/docs/threads/troubleshooting#publishing-does-not-return-a-media-id) to check a container's publishing status." + "description": "Use `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/documentation/threads/troubleshooting#publishing-does-not-return-a-media-id) to check a container's publishing status." }, "response": [ { @@ -3525,7 +3525,7 @@ } ] }, - "description": "Use `GET` /threads_publishing_limit [endpoint](https://developers.facebook.com/docs/threads/troubleshooting#retrieve-publishing-quota-limit) to check a user's publishing API quota limit." + "description": "Use `GET` /threads_publishing_limit [endpoint](https://developers.facebook.com/documentation/threads/troubleshooting#retrieve-publishing-quota-limit) to check a user's publishing API quota limit." }, "response": [ {