Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API deprecated, Epitweetr affected? #91

Open
studentrkaur opened this issue May 10, 2023 · 2 comments
Open

API deprecated, Epitweetr affected? #91

studentrkaur opened this issue May 10, 2023 · 2 comments

Comments

@studentrkaur
Copy link

studentrkaur commented May 10, 2023

Hello, I am very new to epitweetr and have been trying to install and set up everything correctly. One of the areas I am struggling with is setting up twitter authentication through a user account, which only uses API v1.1. However, with all the changes that have occurred at Twitter, this API is supposedly deprecated as of April 2023. Does this mean my only option is to set up a developer app? (Edit: I made a free tier app and then ran diagnostics in Shiny, it appears to have worked for now. The new API access has a free, basic ($100/mo) and enterprise ($42000/mo) tiers).

Also, nothing appears to happen when I try to run dependencies, geonames and languages in Shiny. Particularly with dependencies, it always aborts in a few seconds. I beleive this prevents me from activating the epitweetr database and data collection & processing in the configuration section.

The specific error I get is: "Max number of retries reached failed while getting sbt dependencies getting dependencies simpleWarning in value[3L]: Warning during removing JAR files in C:/Users/user name/Dropbox/first name (nickname) last name/folder location/jars simpleWarning in file.remove(existing): cannot remove file 'C:/Users/user name/Dropbox/first name (nickname) last name/folder location/jars/com.github.fommil.netlib_netlib-native_ref-linux-armhf_netlib-native_ref-linux-armhf-1.1-natives.jar', reason 'Permission denied'

I noticed that there are solved issues with a similar problem, however I have ensured that I am using the full path, am launching epitweetr in a local (C:) folder and ensure that my desktop is active while downloading dependencies. I'm not sure what else I can do.

Any help or advice would be greatly appreciated!

Warm regards,
Raj K.

@studentrkaur
Copy link
Author

I solved the dependencies by moving my data directory to a usb flash drive, to a folder named 'Epiweetr'

epitweetr_app(data_dir = "D:/Epitweetr")

However, now I am having an issue with downloading the geonames.

This is Geonames downloaded error I get: Max number of retries reached failed while downloading geonames simpleWarning in download.file(tasks$geonames$url, temp, mode = "wb"): downloaded length 0 != reported length 0

@lauespinosa
Copy link
Contributor

@studentrkaur , please kindly consider that according to Twitter the free tier is for "write-only use cases" so it will not allow you to download tweets from the API.

For the issue with downloading Geonames, please check this closed issue with some suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants