-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getMedias return empty array #390
Comments
This is my medias.php code, I am getting empty array: <?php declare(strict_types=1); use Instagram\Api; use Psr\Cache\CacheException; require realpath(dirname(FILE)) . '/../vendor/autoload.php'; $cachePool = new FilesystemAdapter('Instagram', 0, DIR . '/../cache'); try {
/* printMedias($profile->getMedias());
} catch (InstagramException $e) { function printMedias(array $medias) |
I also have this problem but with |
hi |
As I wrote in #389, it seems to be an issue related to special characters in the JSON reply from Instagram. |
Version(s) affected: x.y.z
Description
A clear and concise description of the problem.
How to reproduce
Code and/or config needed to reproduce the problem.
Possible Solution
Optional: only if you have suggestions on a fix/reason for the bug
Additional context
Optional: any other context about the problem: log messages, screenshots, etc.
The text was updated successfully, but these errors were encountered: