getting error while trying to get following of users via twitter API

Viewed 45
1 Answers

The Twitter API does not support CORS and you cannot call it in a browser in this manner. You will need to use server-side code.

(additionally, the v1.1 API you are trying to use is a legacy API and you would be better to look at v2 - the equivalent is the Follows lookup functionality)

Related