# Instagram Card

## 🐈‍⬛ Canvafy Design;

<div data-full-width="false"><figure><img src="/files/fI2r5H92YUMoTz7oxPSf" alt=""><figcaption></figcaption></figure></div>

<figure><img src="/files/8TCUcPnQrSkVOuDr7GqT" alt=""><figcaption></figcaption></figure>

```javascript
await new canvafy.Instagram()
```

## [.setAvatar(imageURL)](#.setavatar-imageurl)

| PARAMETER                                     | TYPE                                       | DESCRIPTION             |
| --------------------------------------------- | ------------------------------------------ | ----------------------- |
| <mark style="color:blue;">**imageURL**</mark> | <mark style="color:red;">**String**</mark> | **Setting User Avatar** |

## [.setPostImage(imageURL)](#.setavatar-imageurl)

| PARAMETER                                     | TYPE                                       | DESCRIPTION            |
| --------------------------------------------- | ------------------------------------------ | ---------------------- |
| <mark style="color:blue;">**imageURL**</mark> | <mark style="color:red;">**String**</mark> | **Setting Post Image** |

## [.setComment(comment)](#.settitle-name)

| PARAMETER                                    | TYPE                                       | DESCRIPTION               |
| -------------------------------------------- | ------------------------------------------ | ------------------------- |
| <mark style="color:blue;">**comment**</mark> | <mark style="color:red;">**String**</mark> | **Setting Tweet Comment** |

## [.setUser({username})](#.setdescription-description)

| PARAMETER                                     | TYPE                                       | DESCRIPTION               |
| --------------------------------------------- | ------------------------------------------ | ------------------------- |
| <mark style="color:blue;">**username**</mark> | <mark style="color:red;">**String**</mark> | **Setting User Username** |

## [.setLike({count,likeText})](#.setdescription-description)

| PARAMETER                                     | TYPE                                          | DESCRIPTION              |
| --------------------------------------------- | --------------------------------------------- | ------------------------ |
| <mark style="color:blue;">**count**</mark>    | <mark style="color:yellow;">**Number**</mark> | **Set Like Count**       |
| <mark style="color:blue;">**likeText**</mark> | <mark style="color:red;">**String**</mark>    | **Set Custom Like Text** |

## [.setTheme(theme)](#.setborder-color)

| PARAMETER                                  | TYPE                                       | DESCRIPTION            |
| ------------------------------------------ | ------------------------------------------ | ---------------------- |
| <mark style="color:blue;">**theme**</mark> | <mark style="color:red;">**String**</mark> | **"dark" and "light"** |

## [.se](#.setlevel-level)[tVerified(verified)](#.setavatarborder-color)

| PARAMETER                                     | TYPE                                           | DESCRIPTION       |
| --------------------------------------------- | ---------------------------------------------- | ----------------- |
| <mark style="color:blue;">**verified**</mark> | <mark style="color:orange;">**Boolean**</mark> | **Verified Tick** |

## [.se](#.setlevel-level)[tLiked(liked)](#.setavatarborder-color)

| PARAMETER                                  | TYPE                                           | DESCRIPTION    |
| ------------------------------------------ | ---------------------------------------------- | -------------- |
| <mark style="color:blue;">**liked**</mark> | <mark style="color:orange;">**Boolean**</mark> | **Liked Tick** |

## [.setStory(story)](#.setavatarborder-color)

| PARAMETER                                  | TYPE                                           | DESCRIPTION                    |
| ------------------------------------------ | ---------------------------------------------- | ------------------------------ |
| <mark style="color:blue;">**story**</mark> | <mark style="color:orange;">**Boolean**</mark> | **Circle Story Profile Frame** |

## [.se](#.setlevel-level)[tSaved(saved)](#.setavatarborder-color)

| PARAMETER                                  | TYPE                                           | DESCRIPTION    |
| ------------------------------------------ | ---------------------------------------------- | -------------- |
| <mark style="color:blue;">**saved**</mark> | <mark style="color:orange;">**Boolean**</mark> | **Saved Tick** |

## [.se](#.setlevel-level)[tPostDate(timestamp)](#.setavatarborder-color)

| PARAMETER                                      | TYPE                                          | DESCRIPTION                |
| ---------------------------------------------- | --------------------------------------------- | -------------------------- |
| <mark style="color:blue;">**timestamp**</mark> | <mark style="color:yellow;">**Number**</mark> | **Post Publish Timestamp** |

## [.build()](#.build)

| PARAMETER                                       | TYPE                                            | DESCRIPTION                                                                                                            |
| ----------------------------------------------- | ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| ~~<mark style="color:purple;">**None**</mark>~~ | ~~<mark style="color:purple;">**None**</mark>~~ | <p><strong>Image Maker.</strong><br><em><mark style="color:orange;"><strong>❗Required to Use!</strong></mark></em></p> |

### **🌙 Example Of Code With Discord.js v14** <a href="#usage" id="usage"></a>

<pre class="language-javascript"><code class="lang-javascript">client.on('messageCreate', async message => {
  if(message.content.startsWith(".instagram")){
  const instagram = await new canvafy.Instagram()
<strong>  .setTheme("light")
</strong>  .setUser({ username: "_berknt" })
  .setLike({count: 1200, likeText: "like"})
  .setVerified(true)
  .setStory(true)
  .setPostDate(Date.now() - 1000 * 60 * 60 * 24 * 2)
  .setAvatar("https://instagram.fist11-1.fna.fbcdn.net/v/t51.2885-19/322045861_132323016348153_7836758904793288977_n.jpg?stp=dst-jpg_s150x150&#x26;_nc_ht=instagram.fist11-1.fna.fbcdn.net&#x26;_nc_cat=109&#x26;_nc_ohc=U74iCxQMkukQ7kNvgEKgFW9&#x26;edm=AEhyXUkBAAAA&#x26;ccb=7-5&#x26;oh=00_AYCdS5FnAQv5unZqvoGUjyyej1GEkOXkTB-iKOPd-RqLpA&#x26;oe=66D97ECE&#x26;_nc_sid=8f1549")
  .setPostImage("https://instagram.fist11-1.fna.fbcdn.net/v/t51.29350-15/323080696_1192883638039438_2597267999547197904_n.webp?stp=dst-jpg_e35&#x26;efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgweDEwODAuc2RyLmYyOTM1MC5kZWZhdWx0X2ltYWdlIn0&#x26;_nc_ht=instagram.fist11-1.fna.fbcdn.net&#x26;_nc_cat=110&#x26;_nc_ohc=yyRUIVcIXHMQ7kNvgHDtLX4&#x26;edm=AEhyXUkBAAAA&#x26;ccb=7-5&#x26;ig_cache_key=MzAwNDk0NTU5NzIyOTEyNzExOA%3D%3D.3-ccb7-5&#x26;oh=00_AYAg82IKUTfAskYa13RvRky4RhMgM0ZxFGEjNElUtyGbpA&#x26;oe=66D97D46&#x26;_nc_sid=8f1549")
  .setLiked(true)
  .setSaved(true)
  .build();

  message.reply({
    files: [{
      attachment: instagram,
      name: `instagram-${message.author.id}.png`
    }]
  });
}
});
</code></pre>

## 📃Support Server; [discord.gg/luppux](https://discord.gg/luppux)


---

# 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://fivesobes.gitbook.io/canvafy/instagram-card.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.
