The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
2answers
400 views

wp_remote_post tp paypal nvp api timeout, while curl with the same parameters work

I'm using wordpress Http Api to call this worked perfectly for over two years and just recently broke down. This is the code: $nvpreq = ...
4
votes
1answer
268 views

HTTP digest authentication using wp_remote_get

I am able to implement http basic auth in wp_remote_get using the following code $args = array( 'headers' => array( 'Authorization' => 'Basic ' . base64_encode( $username . ':' . ...
2
votes
1answer
231 views

Connect external web app to wordpress

We have a web app that will allow users to edit their videos; and add intros, outros, and watermarks. Once the user already done on their video. We need to provide an option to post or syndicate ...
2
votes
1answer
146 views

Inconsistent server code response using HTTP API

I'm using Wordpress http api to get a server response code from youtube api so I check the validity of a video. I do this in a function from my functions.php which processes my post form where I ...
1
vote
1answer
77 views

How do I create an rssfeed from the contents on this page?

So. I created a gmail rss feed with php that I placed in a custom page. I used this snippet: function checkGmail($username, $password) { $url = "https://mail.google.com/mail/feed/atom"; $curl ...
0
votes
1answer
195 views

How to use wp_http with https-pages?

I'm trying to get content from an other site of mine, using iFrame-less Reloaded (http://wordpress.org/plugins/iframe-less-reloaded/) It uses the class WP_http but doesn't work with a page in https. ...
1
vote
0answers
13 views

Mutual Authentiction on HTTPS with Wordpress HTTP API?

I'm currently building a prototype to post data from Wordpress to a Rightmove RESTful JSON API (a rental/property website in the UK - specifically the Real Time Datafeed) Was pretty impressed that ...
0
votes
0answers
64 views

How to scrape data from a URL and put it into a post

I'm looking for a way to allow users of my site to enter a URL into a form field and have it scrape that URL for a <title>, <description>, and the first image on the page, of which it will ...
0
votes
0answers
64 views

Why does wp_remote_fopen return false?

I am getting false when I try to $json = wp_remote_fopen( dirname(__FILE__). '/webfonts.json' );. On the other hand, I am getting correct results when I try to $json = file_get_contents( ...
0
votes
0answers
86 views

Get full page HTML for a non-public Wordpress page

How can I write a function that will return the full rendered HTML of a non-public URL on my Wordpress site—a URL that you must be logged in to see, such as a draft? Not just the post content, but the ...