Skip to content

Latest commit

 

History

History
114 lines (81 loc) · 3.21 KB

README.md

File metadata and controls

114 lines (81 loc) · 3.21 KB

fb-chat-bot

Getting Started with fb-chat-bot

connecting your fb account tutorial video link

Video Link :

https://youtu.be/1QRGDIqNlME

IMP UPDATE!!!

If u want to work bot even after fb logout.. just follow these steps:

>> open private/incognito window and login facebook..

>> get cookie editor extension and allow the extension in private/incognito mode

>> get xs value from cookie editor and enter that xs value in fb-chat-bot.py instead of regular window xs value shown in video

>> and close the incognito window (do not logout)

Disclaimer! Not responsible if any damage is done to your fb account

-------------->> Basic Features <<----------------------

To get current weather of any city

-> weather of city_name
returns current weather of entered city

To find the meaning of words

-> meaning of any_word
returns meaning of entered word

Language translation

-> translate hello to ne
ne(nepali)
ja(japanese)
es(spainish)
etc
returns translated text of hello

get corona details

-> corona of country_name
returns details of corona virus

All conversion (units, currency)

-> convert 1 usd to npr
-> convert 1 cal to joule
returns converted value

------------>> Advanced Features <<----------------

Solve mathematics problems with solution

For stepwise solution of Calculus

-> calculus integrate sin4xcos3x
-> calculus differentiate / derivative of sin4xtanx
returns image with stepwise solution

For stepwise solution of Algebra

-> algebra solve 3x^2+4x-8=0
returns stepwise text solution instantly

For other queries(numerical, language based qns)

-> query solve Kepler's third law, 4 solar masses, 5 Earth masses, 2.5 AU
returns stepwise solution of queries

Search Images (Uses Bing Search Engine)

<< syntax >> search image image_name num_of_images(optional)
returns 10 images by default if number not specified
Example:
-> search image laptop
returns 10 images of laptop
-> search image laptop 5
returns 5 images of laptop

Search PDFs

(same syntax as image search)
-> search pdf python programming book 5
returns 5 links books of python programming book pdf

Programming Solution

-> C program to print fibonacci sequence
-> python program to swap two numbers
-> java program to find length of string
returns image solution of entered question

------------->> MOST USEFUL AND MY FAVOURITE FEATURE <<------------------

Message unsent reply back feature

--> When someone sent you a message and then if they unsend it, you can view it
The bot immediately send the unsent message again to the user
Same goes if they send image and unsend it.. You can view the unsent images immediately.

Some Other auto response

-> onThemeChange -> onEmojiChange -> onNicknameChange -> onReactionAdded or Removed ..etc

------------------->> Other small queries you can provide <<---------------------

example:

-> find how many grams of protein in 1 egg
-> find number of electrons in sodium
-> solve for x if 3x^2-16=9
-> convert 110110 to decimal
..and many more

Note: dont forget to provide initial keyword like find, solve, calculate, evaluate, convert etc