I'm planning on making a plugin with integrates with YouTube and Twitter, I have finished the YouTube part easily as no authentication is needed. For the Twitter, I was wondering which of the two auth methods below seem to be better suited, the first is obviously easily for the end user whilst the second is more robust and can handle twice the queries every 15 minutes. First, https://dev.twitter.com/docs/auth/pin-based-authorization and second https://dev.twitter.com/docs/auth/application-only-auth. Both would be a one time process completed by the server owner, for one they would go to URL and copy the PIN to console, in two they would have to configure an app and give the secret and key to the plugin. I'm new to oauth so I need help deciding which to use. Also, I was wondering how I should go about opening URLs in a browser, is there a universal way or do I just have to check for different operating system, I know Mac has open and windows has start and there's also x-www-browser. So I need to know which oauth method would be better and the best way of opening web pages?
Im just trying to make it easy for server owners to deploy without configuring their own app, guess there is no way around it