Skip to content

download messenger stickers even gifs :O lowkey kinda a mess but it worked for me to get messenger stickers in slack wee

Notifications You must be signed in to change notification settings

yolandaz/stickers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup

  1. npm i

how to download a sticker pack

  1. open a sticker pack on messenger
  2. if the stickers are animated, hover over all the stickers so that the animated version will be loaded
  3. run in console (urls will be copied to clipboard)
stickers = Array.from(document.querySelectorAll('.uiGrid._51mz._5f0n ._5r8i'))
copy(stickers.map(el => el.style.backgroundImage).map(s => s.substring(5, s.length - 2)))
  1. paste the urls into data.js
  2. also set stickerPackName (what you want to name the images) and isGif
  3. run node step1.js

if your sticker pack is not animated: YAY you're done... time to rename

if your sticker pack is animated:

  1. rename each sticker sheet to name.row.col.skipLast (for example: bounce.3.4.2.png)
    • name: the name you want the output gif to be
    • row and cols: number of rows columns in the spritesheet
    • skipLast: the number of blank frames at the end to be skipped
  2. run node step2.js

About

download messenger stickers even gifs :O lowkey kinda a mess but it worked for me to get messenger stickers in slack wee

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published