Hi Everybody,
We have two questions in regards to Snorre's datalog file:
- Logging file with API:
We have tried to implement the 'logging code' from lecture 8 into our function that extracts tweets but it does not save anything to the file. Our function goes through Twitters API to extract the data and not a URL. We do not use the requests module, we use the tweepy function:
auth = tweepy.OAuthHandler(consumerKey, consumerSecret)
auth.set_access_token(accessToken, accessTokenSecret)
api = tweepy.API(auth)
Maybe you can give us an idea of how to implement it correctly?
- Describing the data (Maybe this one is more directed at Snorre):
We understand that the log file will log errors and save timestamps etc. How do you want us to analyze the data?
Kindest regards,
Group 10
Hi Everybody,
We have two questions in regards to Snorre's datalog file:
We have tried to implement the 'logging code' from lecture 8 into our function that extracts tweets but it does not save anything to the file. Our function goes through Twitters API to extract the data and not a URL. We do not use the requests module, we use the
tweepyfunction:Maybe you can give us an idea of how to implement it correctly?
We understand that the log file will log errors and save timestamps etc. How do you want us to analyze the data?
Kindest regards,
Group 10