HttpService Error

I’m trying to use the Twitter API module but I’m gettin an error.

Line causing the error:

return http:JSONDecode(http:GetAsync(endpoint .. path .. ".json?" .. datastr:sub(1, #datastr - 1), true, {Authorization = "Bearer " .. auth}))

image

1 Like

@ShinsokuDev if you use API you need to put HttpService:JSONEncode('https://api.twitter.com/1.1/followers/list.json', false, {['screen_name'] = 'ShinsokuDev'; }))

I Hope This Works !

JSONEncode only converts a table to a JSON string tho, it doesn’t actually send any signals

1 Like