Instagram

FREEMIUM
Par Prasadbro | Mise à jour il y a 25 jours | Data
Popularité

9.9 / 10

Latence

5,263ms

Niveau de service

100%

Retour à toutes les discussions

got "Invalid Username" after several calls to user_posts with next_max_id

avatar
alexschaff
il y a 2 mois

I’m trying to get all the posts of a user.

At the beginning everything is working well: based on the username I achieve to get the user_id of the user, I start to get some posts, get next posts using next_max_id but at some random point the API returns me:

{ Warning: 'Invalid Username', status: 'Fail', statusCode: 902 }

But I’m sure that the username is valid because I achieved to get previous posts. That is problematic.
The user has about 1800 posts.

avatar
Prasadbro commented il y a 2 mois

Hi alexschaff, yes you need to retry request again .

avatar
alexschaff commented il y a 2 mois

The problem is that it happens every time for me at some point. Should I just retry the request again ?

avatar
Prasadbro commented il y a 2 mois

Hi alexschaff,it will rarely happen but in most cases you will get 90%+ success rate.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires
Note : 2.7 - Votes : 10