我正在使用PHP和HTML开发一个简单的twitter交互。我使用的是https://api.twitter.com/1.1/users/show.json?我只想返回用户名,追随者计数,以下计数和位置。<?php include "library/twitteroauth.php"; ?>
<?= new TwitterOAuth($consumer, $
我试图让我的推特追随者计数显示在我的网站上。我已经设置了twitter来接收追随者计数,并且已经使用echo进行了测试,并且运行得很好。<?php
* Requires the "TwitterAPI" wrapper by James Mallison
* to be found at https:/&
所以我用这个方法,但在这种情况下,我只有20个朋友作为默认计数。在TwitterTemplate中,无法将计数作为参数传递。但API表示,它将返回5000名用户。* Note that this method make multiple calls to Twitter's REST API (one call to get a list of the因此,请求重定向到