# Instagram API with Instagram Login

To integrate **Instagram** with your **Wedesigntech** theme via **Elementor**, follow these steps:

{% hint style="success" %}

* **Log in** to your WordPress admin panel.
* Navigate to **Elementor** > **Settings**.
* Click on the **Wedesigntech** tab.
* Locate the **Instagram** section.
* You will see the following fields:
  * **Instagram App ID**
  * **Instagram App Secret**
  * **Instagram App Access Token**
* Enter the required credentials and click **Save Changes**.
  {% endhint %}

<figure><img src="/files/4Do3UoeXmD9treHaJIRn" alt=""><figcaption></figcaption></figure>

#### **How to Get Instagram API Credentials?** <a href="#how-to-get-instagram-api-credentials" id="how-to-get-instagram-api-credentials"></a>

#### **Step 1: Create an Instagram App on Facebook Developers** <a href="#step-1-create-an-instagram-app-on-facebook-developers" id="step-1-create-an-instagram-app-on-facebook-developers"></a>

* Go to the [**Meta for Developers**](https://developers.facebook.com/) website.
* Click **Get Started** (if not done already).
* Navigate to **My Apps** > Click **Create App**.
* Choose **For Everything Else** and click **Next**.
* Enter an **App Name** and your **Email**, then click **Create App**.
* Under **Add a Product**, find **Instagram Basic Display**, and click **Set Up**.

#### **Step 2: Get Instagram App ID & App Secret** <a href="#step-2-get-instagram-app-id-and-app-secret" id="step-2-get-instagram-app-id-and-app-secret"></a>

* In your newly created app, go to **Settings** > **Basic**.
* Copy the **App ID** and **App Secret**.
* Add a valid **Privacy Policy URL** and configure your **App Domains**.
* Scroll down and **Add Instagram Basic Display** to your App.
* Under **Valid OAuth Redirect URIs**, add your website URL.

#### **Step 3: Get Instagram App Access Token** <a href="#step-3-get-instagram-app-access-token" id="step-3-get-instagram-app-access-token"></a>

* Go to **Instagram Basic Display** > **Add a New Instagram Tester**.
* Accept the request from your Instagram account.
* Go back to **Instagram Basic Display** > **Generate Token**.
* Copy the **Access Token** and paste it into Elementor settings.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://buddhathemes-test.gitbook.io/ogie/api-integration/instagram-api-with-instagram-login.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
