> For the complete documentation index, see [llms.txt](https://docs.yemreak.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yemreak.com/arsiv/yazilarim/instagram-bot.md).

# Instagram Bot

Instagram üzerinden otomatik follow / unfollow işlemleri yapan botun kullanımı

## 🗽 Açıklama

![instabot](https://raw.githubusercontent.com/yedhrab/YInstaBot/master/res/instabot.png)

Botu `pip install yinstabot` komutu ile indirebilirsiniz.

* Çalışma dizini komutun çalıştırıldığı dizindir.
* Kullanıcı bilgileri [🤵 sessions](https://app.gitbook.com/s/-LrcGwDVnghIgjDIIhGv/yazilarim/sessions) dizinine kaydedilir

> ✨ [Instabot](https://github.com/instagrambot/instabot) projesinden yararlanılmıştır.

{% embed url="<https://github.com/yedhrab/YInstaBot>" %}

## 📑 Botun Kullanımı

Bot, `yinstabot <accounts.json yolu>` komutu ile önceden oluşturulmuş `accounts.json` dosyasının yolunu alarak çalışır.

| İsteğe bağlı parametreler | Açıklama                       |
| ------------------------- | ------------------------------ |
| `--help`                  | Yardım metnin gösterir         |
| `-nr`                     | Verileri güncellemeden çalışır |
| `-q`                      | Sessizce çalışır               |

> 🙄 Henüz yapım aşamasında olduğundan gereksiz parametreleri de vardır

### 📂 `accounts.json` yapısı

```javascript
{
  "username": {
    "info": "Kişisel notunuz (önemli bir alan değildir)",
    "username": "kullaniciadi",
    "password": "şifre",
    "option": 1,
    "target_usernames": [
      "instagram",
      "facebook",
    ]
  },
  "username": {
    "info": "Kişisel notunuz (önemli bir alan değildir)",
    "username": "kullaniciadi",
    "password": "şifre",
    "option": 5,
    "target_usernames": [
      "instagram",
      "facebook",
    ]
  }
}
```

### 🔨 Option Değerleri

| Değer | Açıklama                                                                                                             |
| ----- | -------------------------------------------------------------------------------------------------------------------- |
| 1     | `data` dizinindeki kullancı idlerini takip eder, seni takip etmeyenleri takipten çıkarır                             |
| 2     | Seni takip etmeyenleri takipten çıkarır                                                                              |
| 3     | Herkesi takipten çıkarır                                                                                             |
| 4     | Sadece takip işlemi yapar                                                                                            |
| 5     | `target_usernames`'deki kişilerin paylaştığı resimleri beğenen kişilerin idlerini `data` dizininde dosyalarda saklar |

> `1`'in çalışması için `5` özelliğine sahip ayrı bir hesap tanımlanmazsa ilk hesap ile veri toplanması yapılır

## 🖤 Android'te Termux ile Kullanım

Android için [🖤 Termux](https://play.google.com/store/apps/details?id=com.termux\&hl=en) uygulamasını indirin ve yükleyin, ardıntan alttaki komutları yazdıktan sonra 📑 Botun Kullanımı alanındakileri uygulayın.

```bash
# Gerekli araçların kurulumları
pkg install python
pip install yinstabo

# İsteğe bağlı paremetreler:
# --help  | Yardım metnin gösterir
# -nr    | Verileri güncellemeden çalışır
# -q    | Sessizce çalışır
yinstabot <accounts.json yolu>
```

## ⭐ Örnek Kullanım Çıktısı

![](https://2136337814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3IVBqG9Jn8K2viWOpgUm%2Fuploads%2Fgit-blob-d3fede393305090b788ceef18e8bf894677c2f55%2Fimage%20\(101\).png?alt=media\&token=d74d1f2d-c303-4866-aa84-3c871de17fd7)

## 🔗 Harici Bağlantılar

* [Instabot](https://github.com/instagrambot/instabot)
* [NeoInstabot](https://github.com/yurilaaziz/neo-instabot)
* [Instabot-py](https://github.com/instabot-py/instabot.py)

## 💖 Destek ve İletişim

Yardımcı olmak için *pull request* atabilirsiniz 🤗

> **The** [**MIT License**](https://choosealicense.com/licenses/mit/) **© Yunus Emre Ak**

[![Github](https://drive.google.com/uc?id=1PzkuWOoBNMg0uOMmqwHtVoYt0WCqi-O5)](https://github.com/yedhrab) [![LinkedIn](https://drive.google.com/uc?id=1hvdil0ZHVEzekQ4AYELdnPOqzunKpnzJ)](https://www.linkedin.com/in/yemreak/) [![Website](https://drive.google.com/uc?id=1wR8Ph0FBs36ZJl0Ud-HkS0LZ9b66JBqJ)](https://yemreak.com) [![Mail](https://drive.google.com/uc?id=142rP0hbrnY8T9kj_84_r7WxPG1hzWEcN)](mailto::yedhrab@gmail.com?subject=YBilgiler%20%7C%20Github) [![Destek](https://drive.google.com/uc?id=1zyU7JWlw4sJTOx46gJlHOfYBwGIkvMQs)](https://gogetfunding.com/yemreak/)

[![Patreon](https://drive.google.com/uc?id=11YmCRmySX7v7QDFS62ST2JZuE70RFjDG)](https://www.patreon.com/yemreak/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.yemreak.com/arsiv/yazilarim/instagram-bot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
