Skip to end of metadata
Go to start of metadata

Registering your Application on Twitter

First, We'll need to create our own  application on Twitter, and thus we get our API keys that you'll use to continue in  Twitter customization on Encuestame.  

OAuth support information

Twitter only support OAuth 1.0 https://dev.twitter.com/docs/auth/oauth

To begin, go to Twitter apps and click in Create an App.

Note:You’ll need to login with your Twitter account to register an Application.

Note: Be careful when complete the callback URL. The callback url is the full url of the page Twitter should send the user to after it’s done authenticating.

 It's necessary to read and accept  the developers rules. It's ready!!. you finished your first application on Twitter.

Once you’ve registered your application, After that just click on Create your Twitter application you’ll be redirected to a page where Twitter will give you your API info for your new app, the Consumer Key_ _and  _Consumer Secret Key,  this key should remain private and you should never give it out to anyone. It’s used in your code so that Twitter can identify your application when you’re making API calls.

We need the API Keys for getting our Application registered on Twitter so that Twitter gives us the right to get the users/visitors authenticated and get their credentials/profile info from Twitter

Once, you complete the form,you can in Settings   the application type , depending on the features of the application you are making, you can choose to request Read-only or Read & Write access to a user account. If you need to update the user’s status, change profile settings, send direct messages, and/or reply to mentions on the user’s behalf, then you need Read & Write Access. If not, then you might just need Read-only access. You will gain more trust from users by requesting access to only what your application needs 

Setting keys on Encuestame

In encuestame-config.properties file you should set the keys provided by twitter previously

Labels: