Code Monkey home page Code Monkey logo

fb_googlebot's Introduction

googlebot

example

What is it?

Its a bot! If you send a message to the facebook page you've connected to, you can get the "GOOGLE SEARCHED RESULTS" by message. (At this moment)You'll get top10 links and some snippets(short explanations).

  • Based on Node.js, Uses https, fs, string_decoder

Why not Google it?

There are people who cannot connect to Google, but can to facebook. So, AWS lambda serves as a broker! It catches the word recieved by my FB page and queries using Google Custom Search API.

How-to-use

  1. Get an AWS account, Google Custom Search API and a Facebook Page.
  2. Get a AWS Lambda and connect it to your Facebook page that the page interrupts Lambda when you recieve a message.
  3. Copy the index.js to your lambda server's code and enter YOUR_VARIABLES to the code.
  4. Try it out!
  • you should know that your google api's daily usage may be limited if you are not paying for it!

Acknowledgements

Igor Khomenko

https://tutorials.botsfloor.com/run-facebook-messenger-chat-bot-on-aws-lambda-2fa800a67d76

  • Skeleton of my code was from his tutorial.

fb_googlebot's People

Contributors

hyunjongl avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.