Thanks to the WordPress forums someone answered that this only works via PHP if you set the UserAgent to a browser.
$ua="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.A.B.C Safari/525.13";
curl_setopt( $cd, CURLOPT_USERAGENT, $ua);
Related Posts:
- Is there a way to follow redirects with command line cURL?
- How to send a header using a HTTP request through a cURL call?
- How can I set the request header for curl?
- How to display request headers with command line curl
- How to fix libeay32.dll was not found error
- cURL to show response headers after submiting a file
- wget/curl large file from google drive
- curl: (35) SSL connect error
- How do I make curl ignore the proxy?
- SSL CA cert (path? access rights?)
- How do I measure request and response times at once using cURL?
- cURL equivalent in Node.js?
- Curl Error 56 “Failure when receiving data from the peer” while sending .tar.gz File
- Run Rsync from Python [duplicate]
- Stable tag of plugin in the readme file
- Is there a faster way to git-svn clone a wordpress plugin from the subversion repository?
- wp_remote_get vs. file_get_contents vs. cURL?
- wp_remote_get – cURL error 28 – only on same domain
- cURL – How to send and fetch data in WordPress
- How long should it take for a plugin to fully load into the WordPress.org plugin repository?
- Recreating a local repository from a currently existing wordpress.org repo..which I own
- How can I edit commit messages in my wp-hosted plugin repo?
- How to make previous versions available for users?
- cURL RETURNTRANSFER function in wp_remote_post
- How to convert this cURL to wp_remote_*?
- How to send file by wp_remote_post?
- Download file using cURL into wp-includes/uploads
- Submitting a block to the .org repo: do I submit compiled code, or source code? [closed]
- Curl error while creating user
- Call external API in wordpress based on user input
- Inconsistencies between wp_remote_post and cURL
- Set wordpress auth cookie from external site?
- Does wp_remote_post() require curl?
- WordPress.org how to force expire Cached Banner-772×250 from my Plugin page
- Difference between `curl -I` and `curl -X HEAD`
- wp_remote_post vs curl to send data in WordPress plugin
- How do I get a YouTube video thumbnail from the YouTube API?
- What’s the net::ERR_HTTP2_PROTOCOL_ERROR about?
- How to get the url of the current svn repo?
- How to fix “SSL certificate problem: self signed certificate in certificate chain” error?
- performing HTTP requests with cURL (using PROXY)
- How to get started with svn:externals?
- How to do a PUT request with cURL?
- Using cURL with a username and password?
- TortoiseSVN svnadmin
- Can curl make a connection to any TCP ports, not just HTTP/HTTPS?
- How do I POST JSON data with cURL?
- SVN Error E175002 while checking out code from repository
- Working copy XXX locked and cleanup failed in SVN
- Curl : connection refused
- file_get_contents( ) not working
- How do I add all new files to SVN
- Cannot connect to repo with TortoiseSVN
- How-to: push a GitHub repo to the wordpress plugin servers
- I found this in a plugin. What does it do? is it dangerous?
- Is it necessary to bump a plug-in’s version if you’re just updating the “Tested up to” attribute?
- Any guides on using WP SVN with IDE clients? [closed]
- How do you allow plugins to be updated using the GUI without breaking your subversion repository?
- Can i do plugin commits directly from a plugin folder inside an installation using the Trunk SVN
- How to make Pull Requests on a wordpress.org plugin?
- How can I use CURLOPT_USERPWD in wp_remote_post?
- What CSS minifier does WP core use?
- Subversion, github, etc.. version control systems/repositories
- Repository reporting incorrect plugin ‘active version’ stat
- Add media with WP-Rest-API v2 II
- What is the usual process of saving changes made at the CMS level into source control?
- Do you have to have command line access to use Subversion with WordPress?
- Using Subversion to deploy WordPress
- How to automate filing a form as a user
- Plugin update not reflected in WordPress plugin page
- Creating login session via CURL
- File Type Is Not Permitted – Cronjob
- How to update WordPress plugins to latest using SVN
- Plugin Repo: Why do some plugins get version charts while others don’t?
- How to remove images from my plugin page in WP Directory?
- Where Does WordPress Make cURL Requests? How To Add cURL Option
- How to show active version on wordpress.org of a published plugin?
- export a csv file from the database with a cronjob
- PHP to Handle API Return instead of print
- Plugin directory says that my plugin it’s not availabe in Spanish, but it is
- Plugin Repository commit doesn’t show up in activity
- get post content of particular post by url
- Change plugin name on WordPress repo
- AJAX error handling for submit function in functions file
- my own SVN for a plugin/theme
- Release the plugin in the WordPress repository where redux is used
- A server-side hook failed when committing plugin code to SVN
- How to send a HTTP Post request using PHP Curl and WordPress
- cURL error 6 on news area, and also won’t auto update
- calling admin-ajax.php from admin-ajax.php
- CURL error with REST API
- Getting Download failed. cURL error 28: Connection timed out after 10001 milliseconds
- Post to WordPress API using cURL and login cookies
- How to send user data from one website to another
- Automating svn updates from a server-side cron job
- Does WordPress perform better with curl installed?
- WordPress Plugin: Where should I put my cookies for cURL?
- Plugin SVN folder structure
- How to test a HTTPS URL with a given IP address
- Curl: disable certificate verification