Check for media
-
Hi
Great plugin.
I was only getting one Tweet importing, then it would stop.
I debugged and found this line 24 of import-tweets-as-posts.php$tweet_media = $tweet->entities->media;
I got the PHP error: Undefined property: stdClass::$media
I change the code to :
$tweet_media = null;
if (isset($tweet->entities->media)) {
$tweet_media = $tweet->entities->media;
}Hope this helps.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Check for media’ is closed to new replies.