doglin
doglin

Reputation: 1741

Twitter v1.1 updated, but we still do not get a response from the new API

Twitter has deprecated their V1 api, so we created an application on Twitter, updated our web config with the new AccessToken, AccessTokenSecret, consumerKey and consumerSecret.

But we are not really getting any response back from the new API though, https://api.twitter.com/1.1/themarilynshow

The old api URL is https://api.twitter.com/1/themarilynshow

and that is OK,

Any ideas why? or which steps i missed?

Upvotes: 0

Views: 159

Answers (1)

Siddharth Jain
Siddharth Jain

Reputation: 68

You just need to login to your twitter developer's account by opening the link https://twitter.com/settings/widgets and create new widget. Choose user timeline if you need to show the tweets on your website. After you have added all the specification a code is generated. For example:

<a class="twitter-timeline" href="https://twitter.com/twitterapi" data-widget-id="YOUR-WIDGET-ID-HERE">Tweets by @twitterapi</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Upvotes: 0

Related Questions