Answer the question
In order to leave comments, you need to log in
It works in the browser, but not in the crown, why?
There is a certain script that runs in Cron and posts to WORDPRESS (which is located on the same host and domain) everything that was posted on Instagram of a certain user per day.
Everything worked fine before.
However, recently I decided to change the html markup a bit.
Previously, links to Instagram pictures were simply collected, and JetPack designed them properly.
However, partial cross-posting in LiveJournal also works there, and posts with an instagram cross-post were crooked.
Then I decided to rewrite and change the html markup:
Instead of: https://instagram.com/p/-YnUDtRMHM/
I did:
<iframe src="//instagram.com/p/BAXLokjxMA6/embed/captioned/?v=6" width="612" height="742"
frameborder="0" scrolling="no" allowtransparency="true"
data-link="https://www.instagram.com/p/BAXLokjxMA6/"></iframe><br />
/usr/bin/wget -O /dev/null "http://www.DOMAIN.ru/instp-main.php"
require('wp-load.php');
<br />
Answer the question
In order to leave comments, you need to log in
offhand, maybe the configs are different for the server and cli php, and in the cli short_open_tags or something else is turned off?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question