Mismatch Likes data in Instagram API - instagram-api

I'm trying to get all likes from a post on Instagram via their API, but it returns only 118 likes data instead of 136. Are there any limitations on this? Kindly help me to resolve this.
P.S : I am using live app.

There is limit of 120 likes and 150 comments via API, the actual count returned in API response is normal to be slightly less than the limit value

Related

Microsoft Graph paging with list message and list reply?

I'm integrating Microsoft Teams into my app using microsoft graph API.
But with the API to get list message, I used parameter $top={pageSize} for pagination, then I got surprised that in the first call, the response returned "pageSize - 1" records, not exactly the number of pageSize.
In contrary, the API to get list replies, it returned exactly "pageSize" records in the first call.
I don't understand why is there a difference like this between message and relpy. Can anyone help me?
This is the pattern of the API that I used:
https://graph.microsoft.com/beta/teams/{teamId}/channels/{channelId}/messages?$top={pageSize}
https://graph.microsoft.com/beta/teams/{teamId}/channels/{channelId}/messages/{messageId}/replies?$top={pageSize}
We could able to reproduce the issue on our side raised a bug.

Wrong amount of results from Instagram API

I try the following request to get 8 latest post results from my Instagram account but, despite of I am using count=8 but, Instagram still provides only 5 results.
https://api.instagram.com/v1/users/self/media/recent?count=8&access_token=
But, when I use count=15 it provides 12 results! Where could be the problem? Any thought?
Thank you.

How to get linkedin followers when they have crossed 500 (i am using oauth passportjs in nodejs)

Is there a way to get count of linkedin followers of person authenticating through oAuth in my site when they have crossed 500? for example when his followers are 600 linkedin only shows it 500, but when the followers is 450 then it shows 450. Any help will be appreciated.
I've found a workaround to fetch follower counts, without using the API.
I used the LinkedIn Follow button generator and included it to my page. The generated iframe has a URL that you can use, to fetch the data.
For me it looked something like this:
https://www.linkedin.com/pages-extensions/FollowCompany?id={COMPANY_ID}&counter=bottom&xdOrigin={YOUR_URL}&xdChannel={NOT_SURE_WHAT_THIS_IS}&xd_origin_host={YOUR_URL}
This approach should also work for users but I haven't tested it.
Obviously this may fail in the future, but i just couldn't get any useful information from the documentation for my specific case.
Not very clean but it works for now.

basic scope on instagram API approved, but still only can get 20 results of photo

i have problem with my website using the instagram's API
i have submitted review for my website and it has been approved by Instagram with public scope.
heres the screenshot of my client permission
but yet i cant retrieve all of my instagram post in my website, it only shows 20 latest post.
this video can show you how my website works with the Instagram's API
https://www.youtube.com/watch?v=Zy7mmgqDhjw
anyone can help me with this? sorry for my bad english before
Thank you very much :)
By default you will only get 20 posts per API call. You can increase this by adding url param &count=32, this will give you up 32 posts (setting count more than 32 will just get you 32)
After that you have use the pagination.next_url in API response to get next set of posts.

350 Request Limit for Instagram API

I have problem with huskies in my application. I can't like
I keep getting an error response, although the limit does not exceed 5000 likes. Anyone solved this problem ?
My app: instaflat.jit.su
The rate limits for Instagram's API are not well documented at all. You will find different limits for comments, likes, unlike, follows, and unfollows.
The best way to determine the allowed rate limit for a particular call is to examine the HTTP request header with a tool like POSTMAN or even Instagram's API Console.
Instagram has new API limits: 100 likes/hr 60 follows/unfollows/hr. That is only if you authenticate serverside and sign your headers. Check out the new authentication: http://instagram.com/developer/authentication/
I'm using it for my new site that automates likes/follows/unfollows, haven't had any problems works great. Check it out: http://instapromobiz.com

Resources