I ran the following code a while ago and it worked but now there is the following error. How to solve it?
ValueError: protocol not known.
import json
temp = json.dumps([status._json for status in tweet]) # create JSON
newdf = pd.read_json(temp, orient='records')