An API wrapper for the ifunny app, allowing for easy posting and other user actions.

Usage no npm install needed!

<script type="module">
  import ifunnyapi from 'https://cdn.skypack.dev/ifunnyapi';



An API wrapper for the iFunny app

tis my first package. It's coded horribley, because i'm really bad at this, and I do NOT advise using this in the least. BUTTT, if you wish to continue, I can't stop you.

How To Get Token

You are able to find it via request, but i've yet to impliment that into this package. So until then, the best way is to press 'forgot password', once you recieve the email, go to the link, and in the url, it will show your token. That's all you need to use the api!


var IF = require('ifunnyapi')
let tags = ['tag1', 'tag2', 'tag3']

let userHeaders = {
    'Authorization': 'Bearer ' + '3245ffaw1ab004c294fb193717379d54b65452345asdbhuaid10c9ee5874eb',
    'User-Agent': 'iFunny/5.21(8374) ipad/11.4.1 (Apple; iPad7,5)'

let formData = {
    type: 'caption',
    image: fs.createReadStream(imagef),
    text: 'random text',
    tags: tags

IF.post(formData, userHeaders, (err, res, body) => {


  • Actually learn how to code
  • Allow for bearer token grabbing
  • not forget about this project and leave it to die