Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

askfm-node-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

askfm-node-api

ASK.FM Unofficial Nodejs API

  • 1.0.13
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

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) NPM 6.1.0

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

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.

Keywords

FAQs

Package last updated on 04 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc