I added the Twitter API plugin. I created an app on twitter in order to get a consumer key and secret key. I entered both values in the appropriate configuration boxes for the plugin. I added a “Sign In to Twitter” button on my page. When I click on the button (in development preview mode) I get the following error:
Error connecting to Twitter: <?xml version="1.0" encoding="UTF-8"?>
<hash>
<error>Desktop applications only support the oauth_callback value 'oob'</error>
<request>/oauth/request_token</request>
</hash>
I don’t know how to fix that. Any help is appreciated.
Edit: BTW, I just discovered Postman. I added it to Chrome and I was able to use a POST request to send a tweet! But I can’t do it within my app because I cannot authenticate with Twitter. And, the Twitter API plugin, unlike Postman, does not appear to have any configuration fields that I can set to make a successful authentication. I guess I am confused about how it works.
##Edit (again)
My problem solved! I want to make an app that sends customized tweets to the user’s twitter account. I’ve tried to get to that point through many routes, viz., the Twitter plugin (which will not, I have learned, enable you to send tweets), the AddToAny plugin (which uses Twitter “intents” - a mechanism that pops up a separate window in which you can type a tweet - not what I want), and API connector (which in theory could do the job, but after much head scratching and searching of the forums, it appears that it is incapable of successfully authenticating with Twitter. But here, I admit, the documentation on the use of the API connector is sparse, and the Twitter documentation on how to use their API is clear as mud).
###Finally, I discovered the BlockSpring plugin.
It was remarkably easy to set up and I can now post customized tweets!
Issue solved.