Skip to content
Жёлтый веб

Автоматизация и арбитраж трафика

Поиск
English
Русский
Categories
  • Браузеры
  • Домены
  • Клоакинг
  • Креативы
  • Ленды-Проклы
  • Перевод
  • Aff. Networks
  • Скрипты
  • Советы-Полезности
  • Софт
  • Трекеры
  • Facebook
  • Финансы

Boost Facebook Comments via API

28 comments / Скрипты, Советы-Полезности, Facebook

Greetings, dear audience! Yellow is in touch, and today we will deal with adding such an important thing to our advertising posts as comments.

It’s a little surprising to me that in the arbitration community, which is actively interested in the capabilities of the Facebook API, there is still no suitable software for cheating, although it would seem that the idea is on the surface. I hope that after the publication of this article, these tools will appear on the market.

So, I responsibly declare that by the end of reading you will have a cheating method in your hands, with the help of which you can immediately get down to business!

What we need:

  1. Several autoregs, with a loaded avatar and a name for the desired GEO (in the CIS — with Russians, in Burzh with names in Latin);
  2. Access Tokens from each of these autoregisters;
  3. COOKIES of each author in CURL format;
  4. Post ID of your ad;
  5. ID of the fp on which the post is posted;
  6. The CURL program, with which we will send requests;
  7. Texts comments.

If everything is clear with the first two points, then let’s look at the rest in more detail.

We receive cookies in the required format

Let’s launchanti-detect, open our autoreg, on behalf of which we will publish the comment, go to Ads Manager and open Developer Tools (F12). There we go to the Network tab, switch the request type switch to Doc and refresh the page (F5). We see the request, click on it and in the Request Headers section we see cookies in the format we need. Let’s copy them for ourselves.

We get the id of the announcement post and FP

Inside Facebook, each ad “belongs” to the FP with which you are running it. That is, in essence, this is a post on FP. To get the post ID, go from Ads Manager from editing the ad to viewing the post with comments, then in the menu (three dots on the right) for the post, select Embed post, hover over the date and see below:

storyfb_id is the id of the post, and simply id is the id of the fp

Posting a comment using CURL

We are almost ready to publish our first comment. To send requests to the API, we will use the CURL console program. On Macs it is built in by default, so we just launch the Terminal. And for Windowsdownload CURL from hereand unpack the archive to any folder, then launch the console (Start-Run-cmd-Enter) and go to this folder (cd Full_Path_To_Folder).

Let’s go! Copy the request below somewhere in your notepad and fill it with all the necessary data: fp id, post id, token, comment, cookies. Yes, comment textbe sure to run it through firstUrlEncoder! Otherwise you will get an errorMalformed input.

Then copy the completed template into the console and press Enter.

curl "https://graph.facebook.com/v19.0/fpId_postId/comments?access_token=token&method=post&message=Thanks!" --cookie "c_user=10003943638656; cppo=1; wd=1280x610; usida=eyJ2ZXIiOjEsImlkIjoiQXchF_7bCC"

If you inserted something incorrectly, curl or febe will write you an error. For example, if cookies are inserted incorrectly there will be an Invalid Request:

If successful, you will see a response from Facebook in the console, in whichthe id of your new published comment will be written:

You will also see this comment right below your post:

All that’s left for you to do is fill in one by one and enter the command into the console for each of your autoregs and get the number of comments you need. If you want to useproxytogether with CURL — read the help, the software supports them.

Additional chips

Comment on comment (branch comments)

If you want to leave a comment on another comment, then simply use the id value of the comment you need previously received in the console instead of the fpId_postId part of our request.

Comment on behalf of FP

If you want to leave a comment not on behalf of the social network, but on behalf of the FP who hangs on the social network (this is very good. convenient: just collect a pool of FPS with the necessary names and photos of generated people), then just change the token from Ads Manager in the request to a token from the desired FPS.

Here’s the request:
https://graph.facebook.com/v19.0/me/accounts?fields=id,name,access_token&access_token=TOKEN

Change the word TOKEN in it to the usual one from Ads Manager and run this request directly in the browser in a new tab, for example. He will show you all the FPs and their tokens.

But keep in mind that Facebook has a limit on the number of comments left from one social network (approximately 7-8 comments) If you have a bunch of fepe hanging on one social network, then after hitting this limit, you will be able to publish comments only after 24 hours! To bypass the limit, hang your FP on 3-4 accounts at once.

Developer Token

If you often use certain accounts for commenting, then I recommend taking a token from the developer account instead of a token from Ads Manager —I wrote about it in detail here. It lives better and does not tend to change suddenly, moreover, when using it, cookies are not needed.

Conclusion

I hope this was helpful! If you liked the article, don’t forget to write a comment andsubscribe to my tg channel. And, of course, give your Masha a plus!

What to read next

Open the full traffic arbitrage hub →

Dynamic Facebook Pixel: Setup and Event Passing How to set up a dynamic Facebook pixel and pass pixel IDs through URL parameters when one technical setup must serve many campaigns. Remove Negative Commenters in Advance with Import/Export Scripts How to filter out known negative commenters in advance using import and export scripts to reduce avoidable comment damage. 6 схем залива Facebook Ads от Тима Бёрда Разбираем публичные методы Тима Бёрда для рекламы в фб: 388, Shotgun, Bully, Sneak Attack, Surfing и дополнительные фишки.
← Previous Post
Next Post →

28 comments “<trp-post-container data-trp-post-id='214'>Boost Facebook Comments via API</trp-post-container>”

  1. Adnrey
    2020-06-08 в 10:41

    Нет инфы по получению ассес токена.

    Reply
    1. Yellow Web
      2020-06-08 в 12:44

      Ну камон, тут не детский сад. Инфа общедоступна и общеизвестна.

      Reply
      1. ADNREY
        2020-06-08 в 16:15

        Ну так то про id поста и ФП расписал, а токен сразу «детский сад»

        Reply
        1. Yellow Web
          2020-06-08 в 17:08

          Окееей, вот

          Reply
          1. Богдан
            2020-06-11 в 17:37

            Выбивает такую ошибку

            curl: (1) Protocol «

          2. Yellow Web
            2020-06-11 в 23:41

            Замени кавычки на обычные

  2. Alex
    2020-06-09 в 16:42

    Добрый день, спасибо за статью! Очень годная инфа :) Столкнулся с трудностью. Взял все необходимые данные fp id, post id, access token и сделал коммент. cmd пробовал и просто запускать, и от имени администратора, но все время вижу вот такую ошибку curl: (1) Protocol «<https" not supported or disabled in libcurl

    Reply
    1. Yellow Web
      2020-06-11 в 23:44

      замените кавычки на обычные

      Reply
    2. Yellow Web
      2020-06-12 в 00:09

      поправил в посте

      Reply
  3. Олеся
    2020-06-11 в 14:08

    А для инсты есть такое?

    Reply
    1. Yellow Web
      2020-06-11 в 23:42

      Да, то же самое, только там id фп по-другому надо получать.

      Reply
  4. Владимир
    2020-06-19 в 21:20

    А можна таким же образом изображения подгружать в комменты?

    Reply
    1. Yellow Web
      2020-06-20 в 15:24

      Да, конечно можно. https://developers.facebook.com/docs/graph-api/reference/v7.0/object/comments вот тут вся документация. Если кратко: то просто добавляешь &attachment_url=https://адрес_к_твоей_картинке.jpg

      Reply
  5. Артур
    2020-07-26 в 15:27

    Не знаю, может так совпало — но после ввода команды в консоле выбило 3х этажную ошибку. После этого акк с которого крутилась реклама вылетел на чек )))))))))
    Это может быть из-за того, что я использовал этот способ накрутки комментов ?

    Reply
    1. Yellow Web
      2020-07-26 в 15:34

      Не думаю. Но если что, то вот чтобы не париться с консолью, уже сделали готовый софт: https://vk.com/wall-181034601_4212

      Reply
  6. Артур
    2020-07-27 в 21:14

    Спасибо )) Видел эту статью ! Сейчас буду пробовать через софт комментов добавить )))

    Reply
  7. Артур
    2020-07-27 в 21:29

    Получилось ! Только вместо русских букв — странные ромбики в черных треугольниках. Английские буквы — норм отображаются. Знает кто-то как это исправить ?

    Reply
    1. Yellow Web
      2020-07-27 в 22:20

      -H "Content-Type: application/x-www-form-urlencoded; charset=utf-8"
      Попробуй это к запросу добавить.

      Reply
  8. Данил
    2021-01-21 в 13:54

    Не понимаю в чем проблема(( все правильно делаю, по инструкции, нажимаю энтер и мне выбивает вот такое (zsh: no matches found:)

    Reply
  9. Данил
    2021-01-22 в 15:42

    Не хватает видео обучалки для мака( 2 дня сидел разбирался, не знаю даже где еще искать инфу(

    Reply
    1. Yellow Web
      2021-02-05 в 20:09

      у меня онли винда

      Reply
  10. PATRICIA
    2022-01-12 в 01:48

    Работает еще тема или уже нет?

    Reply
    1. Yellow Web
      2022-01-12 в 10:18

      работает

      Reply
  11. Сёмтус
    2023-09-29 в 16:10

    способ актуален? не получается опубликовать коммент, получаю ошибки
    пробовал с прокси и без

    curl POST https://graph.facebook.com/v6.0/***_***/comments?access_token=*** -H «Content-Type: application/x-www-form-urlencoded» -d «message=Thank you»

    curl -X socks5://***:*** -u ***:*** POST «https://graph.facebook.com/v6.0/***_***/comments?access_token= ***» -H «Content-Type: application/x-www-form-urlencoded» -d «message=Thank you»

    Reply
    1. Yellow Web
      2023-09-29 в 16:18

      Привет. Ну во-первых нужно использовать последнюю версию апи, а не 6.0 и + сейчас нужно помимо токена слать все куки от аккаунта.

      Reply
      1. Демид
        2024-09-04 в 21:00

        Сейчас вроде это финксанули «message»: «(#3) Publishing comments through the API is only available for page access tokens»,

        Reply
        1. Yellow Web
          2024-09-05 в 12:05

          Да вроде работало совсем недавно, пару месяцев назад. Это ж официальный апи, а не баг какой-то.

          Reply
          1. Аравак
            2024-09-18 в 19:45

            Через токен разраба нельзя, только с фан пейджа можно

Write a comment Отменить ответ

Your email address will not be published. Require fields marked as *

  • Полезные ссылки
  • Реклама
  • Rider
  • DONATE
  • VK
  • MAX
  • Telegram
  • YouTube
Copyright © 2026 Reposting is prohibited without an active link to the source.