03 August 2015

Google Updates Ad Settings


Google has recently updated ad settings pages, which have a new design and more information about your options. You can still disable ads based on your interests from both Google sites and third-party sites. When you do that, you'll still see ads, but they "will not be based on data Google has associated with your Google Account, and so may be less relevant".


It's interesting that Google replaced the section titled "Google ads across the Web" with a new section for signed-out ads, which has 2 separate settings for "ads based on your interests on websites beyond google.com" and "Google Search Ads based on your interests". Google uses your previous searches and browsing history to improve search ads, but you can disable this feature. AdSense ads also use your browsing history and anonymous demographic details to improve ads.



{ Thanks, Herin Maru. }

Get Fare Estimates for Uber Taxis on Twitter


How much will it cost if you are take an Uber taxi from point A to point B? Uber’s mobile app has a built-in fare estimator but you can now also Twitter to calculate the fare. Write your query in plain English (see example), send it to @WhatTheFare and the bot will let you know the approximate fare for your ride in less than a minute.

@WhatTheFare is a new Twitter bot that will help you estimate the cost of your Uber trip. You’ll get to know the fare as well the different types of Uber taxis that are available on that route. And you can use the bot to estimate fare for trips anywhere in the world where Uber service is available.

The bot’s response will also include a deep-link (see example) to Uber’s mobile website and it will directly populate the pickup/drop-off co-ordinates should you decide to book a taxi with Uber.

You can use the bot from anywhere in the world but the Uber prices are always provided in the currency of the pickup/drop-off address. Here’re some sample tweets that used the @WhatTheFare bot to know Uber prices.

Internally, like DearAssistant, the Uber bot is also written with Google Scripts.

It uses the Google Maps API to geocode postal addresses found in your tweet request, fetches the list of Uber taxis available for that route via the official Uber API and then tweets the response using the Twitter API. The taxis icons in the tweet are standard Unicode emojis supported by Twitter.


The story, Get Fare Estimates for Uber Taxis on Twitter, was originally published at Digital Inspiration by Amit Agarwal on 03/08/2015 under Twitter, Uber, Internet.

How to Create a Retweet and Favorite Bot for Twitter


This tutorial explains how you can easily make a Twitter bot that will automatically favorite and/or retweet tweets that contain particular keywords or #hashtags. You need absolutely no coding knowledge and your Twitter bot will be up and running in few minutes.

Before we get started, you may be wondering why would anyone write a twitter bot that mindlessly favorites or retweets tweets? Yes, bots are often used for spammy behavior but, if used right, they can also help grow your Twitter network. For instance, when people share a link from your website on Twitter, you can favorite that tweet and it will give an hint to the original poster that you are author of that page. A brand may like to retweet tweets that contain positive mentions of their product. The list goes on.

Twitter Retweet Bot
Also see: How to Write a Useful Twitter Bot

The first thing you need to do is define a search phrase and any matching tweets will be retweeted or favorited by the bot. Add as many search conditions as possible to keep spam tweets away from your list. Some examples:

1. Tweets containing links to your website, sans retweets
example.com min_retweets:5 OR min_faves:5 -RT

2. Mentions of particular hashtag, but no links
#WhatAnAwesomeHashtag -RT -filter:links

3. All tweets sent from a particular location
#hashtag near:”New York, NY” within:15mi

OK, next we need to build our Twitter bot app. I suggest creating a separate Twitter account to test your automated bots.

  1. Go to apps.twitter.com and create a new application. Fill in the mandatory fields (name, description, URL) and click the Create button. Next go to Keys and Access Tokens and click the Create my Access Token button. Twitter will generate the Consumer Keys & Access tokens that we will need in the next step.
  2. Click here to copy the Twitter bot script to your Google Drive. Replace the search phrase and Twitter keys that were generated in the previous step.
  3. Go to the Run menu and choose StartBot to initialize your Twitter bot.

That’s it. The bot will run in the background, every 10 minutes, and favorite / retweet matching tweets. It will fave/RT a maximum of 1 tweet per minute. If you wish to stop the bot later, go to Run again and choose StopBot.

Also see: How to Save Conference Tweets to a Spreadsheet

Use with care and, as always, the full source of the Twitter retweet bot is available on ctrlq.org under the “do whatever you like” license.


The story, How to Create a Retweet and Favorite Bot for Twitter, was originally published at Digital Inspiration by Amit Agarwal on 03/08/2015 under Twitter, Internet.