Write a Twitter Bot in 5 Minutes – Thnxz to @labnol – Amit Agarwal


Meet @DearAssistant, a Twitter bot that is like a mini version of Siri. You can tweet your questions in plan English and the bot will reply with an answer.

The Twitter bot is internally using Wolfram Alpha so there’s a whole range of questions that it can answer. Here are some questions that people have asked @DearAssistant so far:

  • How many calories are in Diet Coke? (link)
  • When was Mahatama Gandhi born? (link)
  • What is the distance between city A and city B (link)
  • Who directed the film M (link)
  • What is the price of Kindle Paperwhite (link)

Twitter Bot

You can also ask the bot for word meanings, weather conditions, language translation, to convert between time zones, date calculations (how many days until Christmas) and more.

Writing a Twitter Bot – The Basic Ingredients

Writing a Twitter bot is surprisingly simple and you can get one up and running in 5 minutes. It helps if you know little bit of coding (simple JavaScript) but that’s certainly not a requirement for writing a basic Twitter bot.

A bot is essentially a program that is always running in the background and whenever it encounters a command (tweets in this), it processes it (based on the text of the tweeet) and sends a reply to the tweeter in another tweet.

Earlier, you would need a web server to run the bot while the bot itself would be written in languages like PHP, Perl or Python. That’s complicated so we will use Google Scripts to write the Twitter bot and host it on our Google Drive.

How to Write a Twitter Bot – Step by Step
Full article? H e r e 🙂

Set Auto-Expiry Dates for Shared Folders in Google Drive | labnol.org


 

Technology Blog | labnol.org

When you share a folder or a file in Google Drive with anyone, the shared links will stay active forever until you manually change the access permissions. There isn’t a way to set an expiration date for your shared files or folders that will make these links unavailable after a certain date and time.

You can however add an auto-expire feature to any of your shared folders in Google Drive with the help of a simple Google Script.

Google Drive Shared Folders

Set Expiration Dates & Temporarily Share Google Drive Folders

You create a folder in Google Drive and share it with Public or a small group. You then specify a date/time when you want that shared link to expire. The script, at the specified time, will create a copy of your shared folder and delete the original one. Thus the shared links would no longer work though the folder and files will stay in your Google Drive.

Let’s get this to work now. Leer más “Set Auto-Expiry Dates for Shared Folders in Google Drive | labnol.org”

Easily Capture Screenshots in Google Earth for Android | labnol.org


 

Technology Blog

The Google Earth app for Android includes a handy screen capture feature that allows you to capture and share screenshot images of the current view inside Earth with a click. You may capture screenshots of aerial imagery as well as 3D buildings.

You may wonder why would anyone need this when Android itself include screen-capture capabilities? Well, compare these two images.

Google Earth Screenshot

This screenshot was captured using Google Earth – clutter free image.

This screenshot of Google Earth was captured with Android

This screenshot of Google Earth was captured with Android

The big advantage with Google Earth’s built-in screen capture feature is that it adds none of the on-screen clutter to your screenshot.

How to take Screenshots in Google Earth >>>  Leer más “Easily Capture Screenshots in Google Earth for Android | labnol.org”

See all your Google Contacts on a Google Map | labnol.org


 

Google Contacts on a World Map

If you have been using Google Contacts (or any other address book*) to store the postal addresses of your friends and colleagues, you can easily create an online Google Map with all these address or even view them inside Google Earth. Here are the steps: Leer más “See all your Google Contacts on a Google Map | labnol.org”

Use QR Codes to Get More Facebook Likes – labnol.org


labnol.org

A store had this large QR code poster at the entrance window that read – “Like our Facebook Page for offers.” I scanned the QR code with my mobile phone and it redirected me to the store’s website that wasn’t quite mobile-friendly. I spent around 8 seconds on the website but couldn’t locate the Facebook Like button and left.

It was a missed opportunity for the brand as the QR Code failed to generate an additional Like on the Facebook Page.

QR Code with Facebook Like

Encourage Social Action with QR Codes

What the store really needs is a dedicated landing page that would provide customers an option to quickly “Like” the Facebook Page without confusing them with too many options. Also, the design of this page has to be mobile friendly as there’s a 99.99% probability that customers would use a mobile phone to scan the QR code on the go.

Scan this QR Code for a sample.

If you would like to build a similar landing page that encourages people to Like your Facebook Page and Follow you on Twitter, you can start with this simple template. The changes you need to make include…   Leer más “Use QR Codes to Get More Facebook Likes – labnol.org”

How to Install Extensions from outside the Chrome Web Store – labnol.org


labnol.org
Google Chrome Extensions

A warning message in Google Chrome v22.0

Google wants your Chrome browser safe and therefore discourages users from installing any web apps and extensions that aren’t available in the official Chrome Web Store.

Also see: View Source of a Chrome Extension

If someone tries to add an unapproved extension (CRX file) or a user-script (*.user.js) in Chrome, the browser will throw a yellow warning message as shown in the above screenshot. Leer más “How to Install Extensions from outside the Chrome Web Store – labnol.org”

Google Engineer Develops Tool for Generating RSS Feeds from Google Plus


labnol.org

RSS feeds are not available in Google Plus but you can quickly generate feeds for any Google Profile
or Page using the Feed+ app for Chrome.

Google Plus does not offer RSS Feeds but you can easily generate feeds on your own using a new Chrome app developed by Eric Koleda, an engineer working with the Google Apps Script team. Here’s a  sample Google+ Feed create using this tool.

Create RSS Feeds for Google Plus

To get started, open Feed+ inside Chrome and it will request access to some of your Google services. Say yes and you are all set to create RSS feeds from Google Plus. You can generate RSS feeds for individual profiles, business pages and for search results on Google Plus. Leer más “Google Engineer Develops Tool for Generating RSS Feeds from Google Plus”

GENTE COSMO

LIFESTYLE - by Esther Herrero

Being Your Brand

Branding and Strategy for Business and Life

Cruces, Sol y La Imaginación

Cuando la imaginación y la creatividad suman infinito

MarketingActivo

el mundo del marketing se activa para ti

tranquicomix

fanzine bejarano de historietas hecho en los 80

Vinod833's Blog

This WordPress.com site is the bee's knees

Apasionada de las Redes Sociales

Compartir conocimientos 2.0 y Marketing Online

Zona de Promesas

Blog de Tecnología en Español - Internet - Redes Sociales - Entrepreneurship - Innovación

Top Master | Blog

LOS PROGRAMAS DE MBA Y POSTGRADO MAS INFLUYENTES DE TODO EL MUNDO

La realidad alterna

Poesías, relatos, diario de sueños

Unencumbered by Facts

Taking unsubstantiation to new levels

PsicoEmocions Blog

Un Pont entre la Psique i les Emocions

TEA PTLS NACHO

AUTISMO.TEA..PTLS

Comunicación & Marketing

De Lilian Lanzieri

Xtratexia

Dirección estratégica para la vida

StellarHIRE Partners

Founding Partner, StellarHire Partners - Executive Search Consultants. Recent engagements include Eloqua, SFDC, Tibco and Veeam.

ivanbrunpr's Blog

4 out of 5 dentists recommend this WordPress.com site

BLOGTEC

Noticias de Tecnologia.

T a l e n t o  en  E x p a n s i ó n

Gestión de personas y transformación digital para las organizaciones líderes de la Era del Conocimiento

Two Leaves Tea SPAIN

Great Organic Tea! ✫✫✫✫✫ Te Organico en Piramides

Ideas para la clase

Experiencias creativas en la clase de español.

Little Grey Box

Travel Well

No solo los 80's

La mejor música de la historia

Molly Balloon's Blog

Identity + Dressing + Colour

El OJO PUBLICO. / Глаз общественности

Ver para contar & contar para ver. / Чтобы рассказать

Think Creative Idea

Agencia creativa y de inteligencia comercial independiente

The Coaching Alliance

El camino hacia el éxito

CNNEspañol.com

Ultimas Noticias de Estados Unidos, Latinoamérica y el Mundo, Opinión y Videos

Erick Lovera

Mi Pasión en un Blog

Estampas de México.

“Un fotógrafo tiene que ser auténtico y en su obra, debe expresar emociones, provocar reacciones y despertar pasiones.” ~ Javier García-Moreno E.

Natalia Gómez del Pozuelo

Descubre tu potencial de comunicación

aloyn

Alimentación, ocio y negocios, ALOYN, es un Grupo dirigido a Directivos y Propietarios de empresas, interesados en el mundo de la industria de alimentación y bebidas. Tanto por la parte de la industria productora como por la parte de la industria consumidora y/o distribuidora (Distribución Comercial, Horeca, Vending, Venta Directa, etc). También nos interesan las actividades ligadas al agroturismo y el enoturismo como magníficas actividades de promoción y difusión de la cultura gastronómica.

Blog de Jack Moreno

Un blog de Joaquín Moreno sobre recursos, literatura y ciencia ficción

Mashamour

Ensalada de Manjares

Infographic List

Infographics + Interesting Articles

be.blog

be. Intelligent Multimedia Education

Curso Web 2.0 Gratis

Diseña tu sitio web y consigue visitas!

~~Mente en Gravedad~~

************************************************************************************************************

The Xtyle

Fashion Blog - Un Blog de Moda y Tendencias by Bárbara Sanz Esteban

aníbal goicochea

Tecnologías de la Información y Estrategia

A %d blogueros les gusta esto: