Twitter and spam control - twitter

We are developing a carpool app, and are posting all search requests by customers and all registration requests by customers on twitter. There may be a time when the tweets will increase significantly. Do we need to do anything to ensure that we are not breaking any rules ? The tweet looks like this
The tweet looks someone like this
#carEgiri ride from Viman Nagar, to Hindjewadi,. Install carEgiri Android app, and help reduce #pune_traffic? Thanks #mCruiseOn
#carEgiri and #mCruiseOn are our # tags. #pune_traffic is not.

I'd suggest checking the rules and policies for Twitter applications (https://dev.twitter.com/terms/api-terms) and if you're unsure, file a ticket for the Platform Operations team at https://support.twitter.com/forms/platform

Related

Beginner Question: How to access the number of impressions from *other users'* tweets?

I've got a bunch of free online HTML, CSS, and JS tutorials under my belt and I want to try using them to make a browser extension. But I want to make sure that the data I want to use is actually accessible before getting started.
My goal is to make a browser extension for twitter.com that shows the number of impressions of any tweet next to the likes, retweets, and replies. My basic idea is to get the status URL of any given tweet, poll the Twitter API for the number of impressions of that tweet, store that in a variable, and then use CSS to display a little eye icon and the number stored in the impressions variable.
I know that I can find the number of impressions of all of my tweets, both through Twitter Analytics, and also just going to my profile page and clicking the little bar chart icon next to views, retweets, etc. But I'm not clear on whether I can do that for other people's tweets via Twitter's API or anything else. Can you?
For the record, I'm not too concerned about the varying definition of "impression," since it will be consistently applied across all tweets and I'm mostly interested in giving users a comparison between tweets. This is part of a research project to see how this might change how people engage with social media if they know how many views a given post has. If there's a simpler way to go about that using existing platforms, I'm open to suggestions.
Thanks for the advice!
No, impressions data is private. If you are authenticated to the Twitter API then you can use the new Twitter Developer Labs Tweets API to get private metrics like impressions, but you cannot get that for other people's Tweets. Also, the Twitter API does not support CORS, so I don't think you'll be successful trying to use it from a browser extension.

Add a larger number of block users via one Twitter Api request

I just learn about Twitter for couple of days. I 'm facing a problems in building an app that add a large number of users to block list via Twitter Api (POST blocks/list ). But this Api is only work with one user per request, using it will lead to 'API RATE LIMIT'. That I want here is a method that can add a lot of users to the block list via one request Can anyone help me overcome this problem ? Thank and best regards. Like this site http://blocktogether.org/
You're getting two things confused.
There is GET blocks/list which allows you to receive a list of a blocked users.
On the other hand POST blocks/create allows you to block users from your twitter account. I believe that's the one you're wanting.
Either way they're both rate limited and you'll need to send multiple requests to the twitter API in order to reach whatever number you're looking into adding. As of now, until twitter decides to change it, it's only 1 user at a time.

Crawling Twitter using multiple keywords

We have some quick question about putting together a web crawler to collect some data from Twitter.
For example, if we want to use a few hundreds of user IDs as keywords to collect some necessary Tweets. However, it seems we can only use a limited number of keywords (12?) and we can launch one crawler at one time.
Any tips?
Due to Twitter API restrictions (rate limiting) it is not imaginable to crawl the whole website, unless you have a lot of time or unless you pay in order to have a special access to the twitterhose, which should be the only way to solve the problem you mentioned

How to do Jo Blow is viewing "XYZ" on mysite.com facebook updates?

What is required for me to integrate automatic activity updates on a user's facebook status?
I frequently see things like "Joe Shmoe" is listening to Cornbread And Butter... by Carolina Chocolate D... on Spotify
I'd like to know what it takes to integrate this.
My suppositions:
I imagine the user has to "agree" to this.
The user has to either sign in with Facebook auth, or be signed in?
There is some kind of server-side script that runs when a page loads, or is this an ajax JS library.
Does facebook offer some kind of api for this or JS library for this?
Also I work with Ruby on Rails, so please let me know if there's a gem that facilitates this.
Any info appreciated.
You should probably start here: https://developers.facebook.com/docs/beta/
This is the documentation for the new Open Graph features which include low friction publishing of structured data

Finding top twitter users?

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

Resources