Thanks for your prompt reply @lxcichano . Can you please tell me that how can I run following code in python, because this is not python syntax. Iâd tried but found errors.
require 'net/httpâ
require âuriâ
uri = URI.parse(âhttps://api.twitter.com/1.1/tweets/search/30day/dev.jsonâ)
headers = {âAuthorizationâ:âBearer MYREALLYLONGTOKENBASEDONKEYSâ, âContent-Typeâ: âapplication/jsonâ}
data = {âqueryâ:"{snow OR sleet OR hail OR (freezing rain)) has:images", âfromDateâ:â201709270000â,âtoDateâ:â201709280000â}
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Post.new(uri.request_uri, headers)
request.body = data
response = http.request(request)
This is the code Iâd taken from Twitter Official help.
P.s. Iâd done all pre-requisites steps but through this I canât having extracted tweets.
Can you please help me? or send a online resource?