Closed bejgli closed 1 year ago
Instagram changed how they handle csrf tokens, and getting it from cookies is not possible anymore. We can get the csrf token from the page with regex. The token is only visible if we use an User-Agent header in the get request.
Instagram changed how they handle csrf tokens, and getting it from cookies is not possible anymore. We can get the csrf token from the page with regex. The token is only visible if we use an User-Agent header in the get request.