Uploading media to twitter using API in electron app

api

#1

Trying to get my electron app to upload to Twitter directly using the Twitter API, but I’m worried that the code would expose the app’s Twitter oauthCredentials. How big a security problem would this be? Would best practice suggest I use an intermediate server to handle the API request?

Thanks in advance.
Ben


#2

Generally speaking if this is a concern, then yes, you might want to consider that, or any other way to obfuscate the credentials.