https://api.twitter.com/1.1/friends/list.json
Error that i am getting is that about cors, though i have manage it from browser side
Here is my code that i use for fetch user
const response = await fetch('https://api.twitter.com/1.1/friends/list.json',{
method: 'GET',
headers : {
"Content-Type": "application/json;charset=UTF-8",
'Authorization' : 'Bearer my_token'
}
})