Skip to content

jianghong/gifter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gifter

By Jiang Tao Hong

What is it

giftter is a web app that uses the Twitter API to get a user's tweets and try to guess a gift they would like.

Disclaimer: They might not actually like the gift.

Try it out:

gifter on heroku

How does it work

I'm using the wordpos node module to get any words that aren't 'useful'. Adjectives, verbs, adverbs, prepositions are deemed to be not 'useful'.

With a list of 'useful' top words, the app will try to predict a suitable gift from those words.

Services

200 Latest tweets of a user:

/tweets/{user}

Top word usage from those tweets:

/top/{user}

Suggested gift: (unimplemented)

/gift/{user}

How to run:

In terminal:

node app.js

Dependencies:

  • express
  • ntwitter
  • passport
  • jade
  • wordpos
  • natural

About

find gifts for twitter users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages