javascript - Get image url by class name NodeJS regex -


i'd know how upload image twitter url - let's found cool image url want upload directly twitter. should convert base64? saw in examples of twitter npm can load 1 own computer yet didn't see happen url.

this i've tried:

var data = require('fs').readfilesync('https://yt3.ggpht.com/-o-tcmgg50sw/aaaaaaaaaai/aaaaaaaaaaa/pgci_nql2jm/s88-c-k-no-mo-rj-c0xffffff/photo.jpg'); client.post('media/upload', {media: data}, function(error, media, response)  


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -