For 4 weeks, everything has been working smoothly - then all of a sudden none of the users of my application has been able to follow people. I quickly created a new application and tried with a couple of the same users, and it worked. My question then becomes, can an application be rate limited? Every other function (favorite, unfollow, direct messaging) works like a charm. The error it returns for every user is
tweepy.error.TweepError: [{'message': "You are unable to follow more people at this time. Learn more <a href='http://support.twitter.com/articles/66885-i-can-t-follow-people-follow-limits'>here</a>.", 'code': 161}]
Thanks.
Because you've exceeded their follow limits? From their support page:
If you're unable to follow more accounts, you've probably hit a follow
limit. Twitter has imposed reasonable limits to help prevent system
strain and to limit abuse.
Your application needs to stop abusing their limits. It doesn't look like support can help. Do read this page and try to conform to the rules.
Related
Inside the application, we're just pulling the title of a video being attached to a "profile" in the application. Once the user enters a Youtube URL, we're hitting:
https://youtube.googleapis.com/youtube/v3/videos?key=[KEY]&part=snippet&id=[ID]
This has worked for years, and is VERY low traffic. Google now says we've exceeded our quota, but when I go into the Cloud Console to view quota usage, there are literally 20 requests in the past 30 days, and my quota limits are set to something crazy like 3,000,000.
The other posts on here are in relation to uploading and creating certified apps. we're not uploading videos, just retrieving titles from the snippet information, so there's no way we've exceeded quotas.
I tried disabling the API, re-enabling, issuing a new API key... but the result remains the same.
I wanted to let you know that you are not the only one to notice this craziness on Google's API platform. I have been dealing with the same issue as I have for many years been able to simply access the Snippets of my videos and display the video related data on my website.
I used to get 1,000 queries per day and now, all of a sudden, it appears that the "project" needs to be tied to a payment account.
This is so they can now charge you for the queries that you use. Of course, they're not going to tell you upfront how much a "batch" of queries will cost you; at least not until you link your account (payment method).
This can be found in the following location...
This is as far as I've been able to get because I'm just a poor boy from the sticks and can't afford to be paying for queries for data from a resource that I own.
I hope this helps to answer some of your questions anyway.
Hello again #LinuxGnut, I finally got it working. It turns out that once I set up the Billing account in my Google profile and linked it to my API account, I went about deleting everything backward.
I deleted all credentials from each of my projects.
Then I deleted all of my projects (one at a time). This is risky if you have a lot of projects because it told me I only had 7 project slots left. Fortunately, I only need about three for now.
I finally got it working. It turns out that once I set up the Billing account in my Google profile and linked it to my API account, I went about deleting everything backward.
I deleted all credentials from each of my projects.
Then I deleted all of my projects (one at a time). This is risky if you have a lot of projects because it told me I only had 7 project slots left. Fortunately, I only need about three for now.
Then you might need to delete folders as well.
If you have an organization set up, you might want to stop there. I don't have one so I skipped that part.
So, what I'm left with is a Billing account linked to my Google payment account.
Now, I recreated a project, added the YouTube Data v3 API, created new credentials, added them to my application's configuration, and voila! I retrieved the data I needed for all of my YouTube Videos. I hope this helps you out.
I'm new to IOS development and wanted to make an app for learning purposes. My idea is that I have a Single Webpage that has a live count of how many people are in the gyms on my University's Campus.
How can I pull data from that webpage and show it on my app with a little bit of arithmetic such as :
Database how many people are usually in the gym at a particular time and then give predictions.
let users chose a preferential gym and give them notifications based on their regular check in times
if the rate of entry in the gym is high, then notify users to avoid going then. and vice-versa.
I don't want answer to all the above, but if you could give me a heading, that would be awesome!
EDIT 1:
The webpage looks like this : https://studentaffairs.psu.edu/CurrentFitnessAttendance/
Your question is too vague for a specific answer.
You need a back-end API into your web page. It could be as simples as a PHP or Python script that responds to http get requests and returns JSON data with the statistics you want. You'd then write your app to issue the appropriate query, parse the response, and display the results to your users.
Notifications would be more complicated. You'd probably need to set up remote notifications, which would require support on the server side and registering with Apple' remote notification service.
I am looking to build an iOS app and website that work 'together'.
What the plan is for each:
On the iOS side, it will be pushing information to the server in the form of a post. The users will then be able to vote up and down on the posts as well; which also implies they will be able to see the other users information (in real time).
The website will be viewing this information in real time and using the posts. If a post gets enough down votes the server should tell the website and apps to remove it.
I have experience with SQL. Although SQL does not seem to be the appropriate server choice - for what I want to do - given my experience with it. (I could definitely be wrong.)
I would like to host the information myself, however have heard that Parse is good about holding information for iOS apps. I just don't know whether it gives you enough freedom to work with websites as well.
TL;DR: What kind of database/datastore should I use for a real time queries that allows for push notifications?
All suggestions are welcome. Thank you.
Try Using FireBase
firebase.google.com
Documentation
There is a large number of sites like Twitaholic or Twittergrader that offer rankings of Twitter users depending on the number of followers, influence, etc. I haven't found much information, though, on how do they compute these rankings.
My guess is that they begin with a handful users and keep exploring the followers' graph, while periodically updating the information of the users they already know of.
So the question is: is this the right approach or is there a more trivial way of doing it?
The sites you mention started years ago, and at that time they were given whitelisting by Twitter, which means that they can make tens of thousands of API requests per hour. Twitter no longer gives out new whitelisted accounts, so this type of analysis cannot be done by new sites. New accounts are only allowed to make 350 API requests per hour.
It is in fact possible just to use the Twitter API to examine and remember everything about every user, which is what quite a few sites do. twitter streaming api
I am writing a small app, building stats for twitter users (no of tweets, friends etc). I am using this api
http://api.twitter.com/1/users/show.json?user_id=12345
I can only make 150 calls per hour, which is very very small, given the size of twitter. How do companies that rely on Twitter's API manage to overcome this rate limit?
The 150 API calls is per user per application. Larger companies likely broker deals with Twitter.
You need to get whitelisted to get a far higher rate limit. They are open to all sorts of developers, as long as you give a good reason for what you are developing:
http://twitter.com/help/request_whitelisting
You will easily get whitelisted, just apply. They will accept more or less any reasonable application, but just don't want to leave it 'wide open'. If they dont accept you, and you still want to get your hands on the data, just scrape it.