Auto Post Thumbnail
[resolved] How to use APT with cURL (2 posts)

  1. rogalsky
    Posted 2 years ago #

    Hi there,
    I would like to use APT with cUrl. I have many many WordPress I want to use my script to login to WordPress and auto click button "Generate Thumbnails". There is no problem with login to WordPress, problem is when script send POST with varibles: _wpnonce ( yes, I got valid token ), _wp_http_referer, generate-post-thumbnails but APT stop in 0%


    My send_post_request looks like this:

    $request_data = "_wpnonce=".$_wpnonce."&_wp_http_referer=".$domain_name."/wp-admin/options-general.php?page=generate-post-thumbnails&generate-post-thumbnails=Generate%20Thumbnails";

    Any ideas how to fix this?


  2. rogalsky
    Posted 2 years ago #

    ok, problem solved.
    I did not notice that there is a POST request to admin-ajax.php in auto-post_thumbnails.php

    sorry, my bad

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Auto Post Thumbnail
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic