marcopompili / django-instagram

Instagram application for Django.
BSD 3-Clause "New" or "Revised" License
76 stars 27 forks source link

How to fetch all the posts from the instagram #18

Closed Neerajkashyap closed 5 years ago

Neerajkashyap commented 6 years ago

Hi, I am using this package in my django project. And i want to know how can i fetch all the posts from instagram, as currently i am only able to fetch recent 12 posts. Thanks in advance.

ans2human commented 5 years ago

@Neerajkashyap i also have the same issue and in addition to that how can i get likes and comments of my posts ?

marcopompili commented 5 years ago

It's not possible since posts after the first 12 need to be stream loaded, they don't actually appear on page.

abdullah-abid-dev commented 5 years ago

I pass a variable to the template that I call username. It contains the username of the instagram user. When I try to do this for exemple :

{{ username }}

. It works perfectly. It's displaying the good username.

But when I use the tag {% instagram_user_recent_media username %}, it takes username as a string. So the app search on Instagram with the username "username". Obviously it don't find anything. I also tried to do that : {% instagram_user_recent_media {{ username }} %}

marcopompili commented 5 years ago

@Abdullahabid3691 At the moment you can't. I'm going to close this because your question is off-Topic, if you want you can open a new Issue so i can tag it as enhancement.