Hi All,
I have a code that works fine on a local machine but when I use a VM it keeps getting an error.
hashtag <- "bbnaija"
url_start <- str_glue("http://instagram.com/explore/tags/{hashtag}/?__a=1")
json <- jsonlite::fromJSON(url_start)
It works fine on my local machine, but when I use a VM I keeping getting an error;
Error: lexical error: invalid char in json text.
<html lang="en"
(right here) ------^
Please help. Thank you