Save ionic content as image

i want to save all my ion-content as image
and share it to Facebook using social plugin

i tray using dom to image js library but i get error with when tray to save content as image to device storage

any suggestion please

any help please :frowning:

i also try using screenshot plugin but my page height is very large to be one screenshot :frowning: