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”

Create an eBook from Wikipedia Articles | via labnol.org


http://www.labnol.org

The Wikipedia website  now includes tools to help you create formatted ebooks using content from one or more Wikipedia pages – here’s a sample ebook in the EPUB format.

Wikipedia eBook

Wikipedia has offered the PDF export functionality on their website for some time but with the recent change, you can export a selection of Wikipedia pages as EPUBs which is a much better format for reading articles offline on mobile phones, ebook readers and tablets. PDF is still a more suitable format for creating print-ready ebooks.

How to Create eBooks inside Wikipedia Leer más “Create an eBook from Wikipedia Articles | via labnol.org”

Using Outlook.com with your own Web Domain | labnol.org


Technology Blog

How do you setup the new Outlook mail service on a custom web domain so that your email address reads like you@yourdomain.com instead of you@outlook.com?

If you are on Google Apps, you can leave your existing setup untouched and access your Gmail account from inside Outlook.com via POP3. This is a recommended option if you are just experimenting with Outlook and aren’t ready to make the complete switch to Outlook (see: Gmail vs Outlook).

The disadvantage with the above approach is that your incoming mails won’t be delivered to your Outlook mailbox instantly. They’ll first land in your Gmail inbox, Outlook will issue a fetch request after a minute or two and only then will your messages show up in Outlook.

Alternatively, you can remove Gmail from the loop and let Outlook.com handle all your incoming and outgoing email traffic. Here’s how you do that in five easy steps.

Outlook on Custom Web Domain

Guide: Setup Outlook on a Custom Domain Leer más “Using Outlook.com with your own Web Domain | labnol.org”

How to Get a US Phone Number

This tutorial describes how you may easily get your own US phone number from anywhere in the world without spending a penny.

Once you have a US local phone number, your friends and relatives in the US will be able to dial you from their landline or regular cell phones without paying international rates. The calls can be forwarded to your mobile phone or desktop based VoIP softphones (also see: Make phone calls over the Internet).

[*] Skype also offers a service called Skype-In (also known as Online Number) where you can get a local phone number for USA but it costs around $18 for 3 months.


http://www.labnol.org/

Phone NumberThis tutorial describes how you may easily get your own US phone number from anywhere in the world without spending a penny.

Once you have a US local phone number, your friends and relatives in the US will be able to dial you from their landline or regular cell phones without paying international rates. The calls can be forwarded to your mobile phone or desktop based VoIP softphones (also see: Make phone calls over the Internet).

[*] Skype also offers a service called Skype-In (also known as Online Number) where you can get a local phone number for USAbut it costs around $18 for 3 months.

Getting your own USA Phone Number – Step by StepLeer más “How to Get a US Phone Number”

Create Collages with your Facebook Photos

The drawback though is the resolution. Loupe generates a relatively small image of your collage that will probably look good only on a mobile screen. Shape Collage says that will be introducing higher resolution images in the future.
Photo Collages and Facebook Privacy

Any photo collage that you create with Loupe is public and currently there’s no option to change the visibility to private. Thus, if you have any private photos on Facebook that you don’t want the world to see, it may not be a good idea to turn them into collages because others may then find them through search engines.


http://www.labnol.org
_>>>-)

facebook photo collage

The team behind Shape Collage, a popular photo collage software, have launched Loupe, an online tool that will help you create collages using Facebook photos.

You can either use your own photo albums and turn them into collages or the app can also pull photos from the albums of your Facebook friends that are visible to you.

It takes just a few steps to build your first collage. Authorize the app to access your Facebook account, then select any of your photo albums (or that of your friends), choose a shape and your collage is ready. Hit the Share button to save that collage to your Facebook account or grab the permalink to share it by email.

The collages look impressive and if you don’t like the default layout, you can always move or delete any of the pictures on the pile. Here’s a quick video that shows how you can turn Facebook albums into collages.
Leer más “Create Collages with your Facebook Photos”

Digital Inspiration | Latest News


http://www.labnol.org/

ipad-pdf

My Favorite iPad Apps

If you are curious to know what apps have I installed on my iPad, here’s a complete list.

BigRock tries to be the GoDaddy of India with TV Ads

Watch the latest TV ads for BigRock, an India based domain name registrar that operates an almost similar business as GoDaddy. Clean and impressive.

Professor Creates a ‘Living’ Google Logo

Cell biology and Google? See how a microbiologist could grow the first living Google logo in a petri dish.

Leer más “Digital Inspiration | Latest News”

How to use OneNote as a Task Manager for the iPhone

Microsoft Office OneNote, the best note taking program for Windows, is now available for your iPhone as well. Like most other iPhone-only apps, this new OneNote app can also be installed on your iPad and the interface looks decent even after the 2x zoom.

OneNote is now cloud aware. You can take notes on your desktop computer and they get synched with your laptop or you may access them from the browser using OneNote’s web app.

[*] The OneNote app is available as a free download on iTunes.com but is currently limited to US users only. If you are outside the US, please read this workaround on how to install US-specific iPhone apps from international locations.


onenote icon

http://www.labnol.org/software/onenote-as-iphone-task-manager/18514/

Microsoft Office OneNote, the best note taking program for Windows, is now available for your iPhone as well. Like most other iPhone-only apps, this new OneNote app can also be installed on your iPad and the interface looks decent even after the 2x zoom.

OneNote is now cloud aware. You can take notes on your desktop computer and they get synched with your laptop or you may access them from the browser using OneNote’s web app.

[*] The OneNote app is available as a free download on iTunes.com but is currently limited to US users only. If you are outside the US, please read this workaround on how to install US-specific iPhone apps from international locations. Leer más “How to use OneNote as a Task Manager for the iPhone”

The 101 Most Useful Websites

As we quickly approach the dawn of a new year, here are my picks for the 101 most useful websites of the year 2010.

The list primarily highlights the lesser-known or undiscovered websites and misses out all-time favorites like Google Docs, Wikipedia or IMDB that most of us are already aware of.
Useful Websites Worth a Bookmark!

The sites mentioned below, well most of them, solve at least one problem really well and they all have simple web addresses (URLs) that you can easily learn by heart thus saving you a trip to Google.


most useful websiteshttp://www.labnol.org/internet/101-useful-websites/18078/

As we quickly approach the dawn of a new year, here are my picks for the 101 most useful websites of the year 2010.

The list primarily highlights the lesser-known or undiscovered websites and misses out all-time favorites like Google Docs, Wikipedia or IMDB that most of us are already aware of.

Useful Websites Worth a Bookmark!

The sites mentioned below, well most of them, solve at least one problem really well and they all have simple web addresses (URLs) that you can easily learn by heart thus saving you a trip to Google. Leer más “The 101 Most Useful Websites”

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

tranquicomix

fanzine bejarano de historietas hecho en los 80

A Stairway To Fashion

imagination is the key

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 Growth Hacking

Expertos en estrategia y auditoria de marketing

The Coaching Alliance

El camino hacia el éxito

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.

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

be.blog

be. Intelligent Multimedia Education

~~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 Waterfall of Sound

"Poetry is when an emotion has found its thought and the thought has found words." Robert Frost

Style & Design

Fashion Trends and News

U.S.

News, Headlines, Stories, Video from Around the Nation

A <span>%d</span> blogueros les gusta esto: