Instagram API Error: "You cannot like this media" - api

DUPLICATE POST
I have an app where users can see pictures of other users who are using my app and like it when they want to. The problem is that many People are telling me that they can't like pictures even when they just downloaded my app for the first time and want to like something.
The error is:
Error message: {"meta":{"error_type":"APINotAllowedError","code":400,"error_message":"you cannot like this media"}}
For example a picture gets 20 likes without a problem and after that it produces the error mentioned above when another user wants to like it. After some time (maybe a day) it works again for a few likes until the error comes back. My app is whitelisted but why this error happens?
The amount of likes before this error starts is different from user to user. It can also be that a pic from a completely new user of my app gets this error within the first like. Is it because the pic already had many likes before? Is Instagram using advanced imits for API-likes?

Related

My google docs script keeps sending me to an error page after asking permission

I have a google doc that has a script in it. It basically allows for more succinct posting to a site, but that's not the problem. I made a copy of the script, and now it's saying that it needs permission to use it, something that it's never done before. I tried to approve it, but it keeps immediately going to a "something went wrong" page the very second I click "agree".
In short; I try to run the script, it says that I need permission (from myself) to use it. It opens a new window telling me to select an account, I select my account, and then gives me a choice to select whether I give the script permission to run. Then, when I click accept, it immediately goes to an error page.
I've tried reloading the page, signing out of google, rebooting, even using a different account, and I've clicked it like, fifteen times now, and it takes me to the same error page every time. Does anyone know what's going on?
Here's an example.
https://youtu.be/7RsSv5otVkM

Should an automatically performed once-a-day operation for users be responded with an error code from the server for further attempts?

I'm working on a project in which users automatically gain points if it's been more than 24h since their last login and a friendly message appears on the screen telling them that. If they log in again, nothing happens. But for me, as the dev of the project, I get a lot of scary red error messages in the browser logs showing me that a forbidden action has been tried, because when the backend detects that already made the transaction, it returns a 403, and this happens every time someone logs in or close and reopens the site.
I'm a bit confused whether this should really be the treatment for the case and wondering about how messed up error statistics of the site could get because of things like this, where nobody actually tried to perform a forbidden action, just the scheduled predictable behavior of the platform.
Should I change it to a 2xx status code?

Accessing Metacritic API and/or Scraping

Does anybody know where documentation for the Metacritic api is/if it still works. There used to be a Metacritic API at https://market.mashape.com/byroredux/metacritic-v2#get-user-details which disappeared today.
Otherwise I'm trying to scrape the site myself but keeping getting a blocked by a 429 Slow down. I got data like 3 times this hour and haven't been able to get anymore in the last 20 minutes which is making testing difficult and application possibly useless. Please let me know if there's anything else I can be doing to scape I don't know about.
I was using that API as well for an app I wrote a while ago. Looks like the creator removed it from Mashape. I just sent him an email to ask whether it'll be back up. I did find this scraper online. It only has a few endpoints but following the examples given you could easily add more. Let me know if you make any progress!
Edit: Looks like CBS requested it to be taken down. The ToS prohibits scraping:
[…] you agree not to do the following, or assist others to do the following:
Engage in unauthorized spidering, “scraping,” data mining or harvesting of Content, or use any other unauthorized automated means to gather data from or about the Services;
Though I was hoping for a Javascript way of doing this, the creator of the API also told me some info.
He says I was getting blocked for not having a User agent in the header and should use a 429 handling procedure i.e. re-request with longer pauses in between.
A PHP plugin available as well: http://datalinx.io/shop/metacritic-api/
I had to add a user agent like JCDJulian said and now it allows me to scrape. So for Ruby:
agent = Mechanize.new
agent.user_agent_alias = "Mac Firefox"
Then it stopped giving me the 403 Forbidden error.

The Wait Operation Timeout Error

I have a website (MVC 4 Project), which link is.
Sometimes, especially, about 20-25 people entered my website together on same time, my website is not open and error I have like picture below. I have this error only min 20 people entered my website same time, together.
How can i solve this problem? Thanks.

Vimeo search videos "app not allowed to perform that action"

Man it seems improbably difficult just to get a URL that searches Vimeo videos. They've got feed URLs to get specific users' videos, or info on a specific video, but seemingly not for a generic video search.
From other posts and the docs, I eventually came up with this:
https://api.vimeo.com/videos?query=vimeo&client_id=xxxxxxxxxxxxxx
...where client_id is valid (having registered my app).
However that yields an error that...
the app is not allowed to perform that action.
Any thoughts?
Edit - All API Apps now have access to the beta API by default. If you encounter this error it's a different issue, and you should contact Vimeo at https://vimeo.com/help/contact
It looks like you are trying to use API3.
Currently API3 is in beta, and has to be explicitly enabled by going to the url to edit your app : "developer.vimeo.com/apps/:id/edit" and add the querystring "?oauth2=enabled".
Your final URL should look like "developer.vimeo.com/apps/:id/edit?oauth2=enabled". Now save your app again with the new "OAuth 2" check box clicked and try your search request again.