-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
App architecture? #49
Comments
Yeah, I'm using a Next.js server for handling authentication and posting. It's located in the src/server. The CLI interacts with the server and the server does the necessary validations and interacts with Twitter API. This is due to the new Twitter API specifications, in which every request to the Twitter API should be linked to some Twitter APP. (Mine is |
Is it safe for us to use it? |
The whole codebase resides on this repo, both the CLI code and the server. You can check it and suggest enhancements or even open a PR for improving security or its functionality. It's simply an open-source project. As I said this is the only approach as Twitter's new plan is to attach every request to their API to an APP ID for better monetization. To run it locally you will need to create a Twitter Developer account and initiate a Twitter APP and also deploy the Next.js server somewhere and a DB to save credentials. The server is just a global interface with the Twitter API that has my app secret ID that allows it to interact with the Twitter API. I'm assuming it's fairly safe if it's open source. I can add local hosting information but you would have to deploy 3 ends and also create a Twitter APP. Would you suggest that? |
You can of course deploy it locally with your own Twitter APP ID as I said. But you would need to deploy the Next.js server and deploy a DB but I can't see this is necessary for just one user. Should I add instructions for doing so? |
In future yes. |
Which x app? the server is separate from the CLI. |
yep, that's what i am mean, but the address of server is a hardcoded |
Should it be located in |
it is up to you, personally iam fine with optional arguments |
Well, because of issue #47 there is a sense to provide some information of how: I assume most hard part is a run own server, as it doesn't looks like standalone app written on GOlang. |
Hi.
Did i get it right, your app isn't directly posting into twitter anything?
And you are using some 3rd party for this?
I am asking because when i have checked log of application access - there is no any address related to my server, only some random servers logon approximately at the time of posting messages.
The text was updated successfully, but these errors were encountered: