1.0.13 • Published 6 years ago
askfm-node-api v1.0.13
askfm-node-api
ASK.FM Unofficial Nodejs API Website Name : ASK.FM Description : Ask and answer. Find out what people want to know about you! Type : API (UnOfficial)
Install
npm i -S askfm-node-api
Usage
const askFM=require('askfm-node-api')
let cookie="<cookie string>"
let ask=new askFM()
Example
Register Account
ask.registerAccount("45.875.874.11:8080", true); //proxy , forceCookies
Login
ask.login(cookie)
Ask
ask.ask("FamusaCowoy", "Oi!", 1) //username, question, anonymity
Like one
ask.likeOne("FamusaCowoy", "139457224382") //username, answerId
Like All
ask.likeALl("FamusaCowoy") //username, answerId
Fetch Questions
ask.fetchQuestions() //will return array of questions ids to use ask.answer() to answer tthem
Answer Question
ask.answer(questionId,answer) //see example above for questionId
Logout
ask.logout()
All above examples return a promise to with .then()
Notice
This is an open source code and language conversion from the the php also open source unoffical api for askFm youll find it's github repo here [Kom3] AskFM Unofficial API
Legal
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by ASK.FM or any of its affiliates or subsidiaries. Use at your own risk.