-
Notifications
You must be signed in to change notification settings - Fork 20
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
how to parse posts by hash tag? e.g. #phuket? #6
Comments
Hi @ptflp! As a quick example, create a file called // require your autoloader if necessary
// require_once __DIR__ . '/vendor/autoload.php';
use Mineur\InstagramParser\Instagram;
use Mineur\InstagramParser\Model\InstagramPost;
$queryHash = '298b92c8d7cad703f7565aa892ede943';
Instagram::createTagParser($queryHash)
->parse('phuket', function(InstagramPost $post) {
var_dump($post);
}
); To get your own Then execute via console: php tagsParser.php For more examples check this https://github.com/mineur/instagram-parser/tree/master/examples. Hope it helps :) |
Hi @ptflp it was useful? I'm about to close this issue |
thank you very much! but now it shows 403 forbidden every query =( |
How to parse posts data from instagram by hash tag? #phuket
The text was updated successfully, but these errors were encountered: