문제

I am trying to insert tweetbox plugin to post a tweet from a website. I have followed instructions from here http://winkpress.com/tweet-box-lets-your-visitors-write-and-send-tweets-in-your-site/ I ve added the following code, i ve inserted the consumer key,

<script src="http://platform.twitter.com/anywhere.js?id=[KEY]&amp;v=1"></script>

and

<div id="tbox"></div>
<script type="text/javascript">

 twttr.anywhere(function (T) {

 T("#tbox").tweetBox({
  height: 100,
  width: 275,
  label: '<link rel="stylesheet" type="text/css" media="all"   href="http://winkpress.com/wp-content/themes/winkpress/tweet-box.css" />Got tips,  suggestions or questions?',
defaultContent: "@winkpress "
});
});

I am wondering how i can achieve the connection between box and twitter, and manage to post from the tweet box?

도움이 되었습니까?

해결책

Twitter has discontinued @Anywhere. They recommend you use "Twitter for Websites" products and v1.1 REST API integrations instead of @Anywhere.

Twitter For Websites

There you will have the option to see how to add a twitter buttons or embedded tweets to your site.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top