As many users have found, recent Twitter changes with API versions have caused issues with this plugin, and Twitter’s upcoming changes requiring paid access to use APIs will break it further.
For a while now, Twitter’s rules have prevented users from showing tweets not using official Twitter widgets, so use of this plugin has technically been against those rules since they were introduced.
With that in mind, we recommend users stop using this plugin and swap to more official methods of displaying tweets on a website.
]]>I’m using a tweet slider widget provided by the theme I purchased (soledad), it’s supported by this plugin. However it always shows this: Missing consumer key – please check your settings in admin > Settings > Twitter Feed Auth (you can view it on the post sidebar)
I have tested with both of my twitter account, regenerated API keys/tokens many times, it never worked. The debug information on the plugin setting page always shows: Debug Information
Last Error: [Fri, 25 Feb 2022 07:22:48 +0000] Twitter returned an invalid response. It is probably down.
I’ve already contacted the theme provider as well as the server provider. Still don’t know what has gone wrong?
Pantheon doesn’t allow to writing of anything outside of wp-content/uploads in the production environment. Can you point me to where I’d need to make the patch to change the file path of the .tweetcache file?
]]>At first, congratulations for your awesome plugin.
I’m using ‘config server security firewall’ in my server, and the plugin shows no twitts.
I think I need a IP list to put in te whitelist. Can someone help me?
Thanks.
]]>media is no longer showing in the results. I believe Twitter updated their API and was wondering if anyone can shed some light on how we can edit the plugin to fix this.
e.g.
https://stackoverflow.com/questions/39709511/twitter-api-not-returning-images
When I first got things going, getTweets()
was only returning 1 tweet. I left it for a while, and now it’s returning 2. But I’m requesting 3 – any ideas? The account I’m feeding off has 13K tweets.
A colleague suggested I’d got the parameters the wrong way round, based on https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/installation/ However, those docs seems to be out of synch with the code. And swapping the parameters actually made no difference anyhow (I cleared the cache).
Any ideas?
]]>Possible to put the cache file in the uploads or common cache directory? I like to restrict file permissions.
]]>I think everything is hooked in right, but using your sample code:
<?php
$tweets = getTweets($number_of_tweets, $twitter_screenname_to_load, $optional_array_of_any_additional_twitter_api_parameters);
var_dump($tweets);
foreach($tweets as $tweet){
var_dump($tweet);
}
?>
I get:
array(1) { ["error"]=> string(49) "Missing Twitter Feed Screen Name - Check Settings" } string(49) "Missing Twitter Feed Screen Name - Check Settings"
(at bottom of page: https://daam.us/news/). Even though I have US_DAAM in the screen name field under settings.
any help greatly appreciated!
James Khazar
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Using the original code example supplied with the plugin documentation. All works fine except that tweets URLs, in this instance, image URLs aren’t converting to clickable links? Problem with https or t.co PHP regular expressions or array?
Thanks
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>I have installed this plugin for what it say it do best. But after configuring it as per documentation provided… what happen next…. woho it is rendering someone else’s twitter account feeds. Where are my feeds???
Where are my twitter API keys etc go and get stored and why they are not working?
Please tell me how can i override setting which might be forcing it to render alien account feeds. Please help me fix this issue.
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hi – I am not a developer so have very basic skills for wordpress. I tried to install your plugin because it said it was a useful part of a new theme I was downloading. On doing so however, I have lost my site (www.fashionandmash.com) and access to the admin section of my site.
I just get this code:
Fatal error: Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1 in /home4/rarthur2/public_html/wp-content/themes/orion/functions/OAuth.php on line 120
I presume there is some clash between plugins / existing theme on activation, but I can’t even now get back into my site to deactivate it.
Please please can you help as everything is now down. Hugely appreciate it. Thank you
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hi,
First off – awesome plugin, really like it!
I was wondering if you’re able to filter posts depending on a user+hashtag? I was reading about the Search API bit I’ve been struggling to implement it. Any help would be greatly appreciated.
Cheers,
Jamie
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Whenever my cache was expired I was getting the error message “Fatal error: Cannot use object of type stdClass as array”.
I traced the error to the function oauthGetTweets (this function is located in the file “StormTwitter.class.php”).
The function was returning the result from twitter directly. I’m unclear why this is causing the problem, but it is. I fixed it by changing the end line of this function to the following:
$cacheRaw = file_get_contents($file);
$cache = @json_decode($cacheRaw, true);
return $cache[$cachename][‘tweets’];
//return $result;
So after the data is pulled form twitter and then json encoded into the cache, I’m just pulling it right back out using “json_decode($cacheRaw, true)”, which insures that it is a proper array.
I’m guessing that the result from twitter isn’t in a proper array form, but I really don’t know. I do know that it works now – no error.
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Will the cache file being stored in the plugin folder cause problems for “multisites”, where this folder is shared between sites? i.e. would the sites use and overwrite each others cache file?
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hello,
I have used your Twitter feed plugin on the home page of a site I have developed.
https://barossacheese.com.au
Everything views perfectly on a Mac but, on a PC, my client has said that there are a couple of arrows that sit right next to the Follow button. They don’t seem to do anything and they would either like them removed or would like to know their purpose. Could you please help?
Many thanks, Tam
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hi there, my feed suddenly stopped updating a few weeks ago. I have made no changes to the plug in.
Another thing – when logged into WP the log updates fine, but when not logged in on a different browser is does not appear updated.
Any ideas? Cheers
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hey everyone,
im not a developer, but i try my best to get things to work. So i would really like to have my tweets on a website.
Can anyone please continue the description of the installation process, after the token was created and everything!?!?
As i said before, im like a person in foreign country with just knowing a few words- no grammar school etc..
Is it possible to explain it the easy step-by-step way how to get this to work?
Thanks!!!
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Trace:
getTweets, StormTwitter->getTweets, StormTwitter->oauthGetTweets, TwitterOAuth->get, TwitterOAuth->oAuthRequest, OAuthRequest->to_url, OAuthRequest->get_normalized_http_url
Entered all the necessary data in the Settings panel. Didn’t see anything there for a port number. I did an echo check on the port variable from it’s array, it returned blank.
Am I missing something obvious?
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hello,
after installing and adding my API Keys I get the following error message when using this code:
<?php
$tweets = getTweets( ‘screename’, 3 );
var_dump($tweets);
?>
array(1) {
[“error”]=> string(51) “Something went wrong with the twitter request: null”
}
I tryed to uninstall and re-install again as said in this topic
https://www.ads-software.com/support/topic/error-something-went-wrong-with-the-twitter-request-null
but still not solved the issue.
Any idea??
Thank you!!!
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>I have a Twitter username field in my comment form, and I want to use this to get the profile picture from the user’s twitter account.
This is the code I have at the moment, but it’s throwing up all sorts of errors? Any ideas what I could do to improve it?
<?php
$TwX=get_comment_meta( $comment->comment_ID, 'ta_twitter_field', true );
$tweets = getTweets($TwX, 1, array('trim_user'=>false));
if(is_array($tweets)){
foreach($tweets as $tweet){
if($tweet['text']){
echo $tweet['user']['profile_image_url'];
}
}
}
?>
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>I had the plugin working perfectly then all of a sudden after 4 days it just stopped working. I get an error: “Last Error: [Fri, 26 Sep 2014 02:22:58 +0000] Twitter returned an invalid response. It is probably down.”
I deleted the plugin and reinstalled it tried different api keys but nothing works.
How do I fix this issue?
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Is it possible to filter the tweets by hashtag?
I’d like to get the tweets from USER with a certian #HASTAG
Or can I use this plugin to make a search query instead of getting a user timeline?
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hi everybody,
I’m using this great plugin but I’d like to show on my page not only my own tweets but also the retweets that I do (just like they appear in the normal twitter page).
How can I do that? What should I set/enable?
Thanks in advance!
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>hi, I’m not sure what I’m doing wrong, but I put the following code inside of a revolution slider and my feed still comes up empty
[twitter]getTweets(@samkimdesign,1)[/twitter]
site is located here:
https://thriverecords.wpengine.com/
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hi Guys,
I am kind of new at this whole php stuff.
So after using the code in the proper template i get:
array(23) { ["created_at"]=> string(30) "Sat May 10 21:09:48 +0000 2014" ["id"]=> int(465237292630953984) ["id_str"]=> string(18) "465237292630953984" ["text"]=> string(66) "ook Michael Jackshond is zenuwachtig #ESF14 https://t.co/zxeybM0D3b" ["source"]=> string(84) "Twitter for Android" ["truncated"]=> bool(false) ["in_reply_to_status_id"]=> NULL ["in_reply_to_status_id_str"]=> NULL ["in_reply_to_user_id"]=> NULL ["in_reply_to_user_id_str"]=> NULL ["in_reply_to_screen_name"]=> NULL ["user"]=> array(2) { ["id"]=> int(29184348) ["id_str"]=> string(8) "29184348" } ["geo"]=> NULL ["coordinates"]=> NULL ["place"]=> NULL ["contributors"]=> NULL ["retweet_count"]=> int(0) ["favorite_count"]=> int(0) ["entities"]=> array(5) { ["hashtags"]=> array(1) { [0]=> array(2) { ["text"]=> string(5) "ESF14" ["indices"]=> array(2) { [0]=> int(37) [1]=> int(43) } } } ["symbols"]=> array(0) { } ["urls"]=> array(0) { } ["user_mentions"]=> array(0) { } ["media"]=> array(1) { [0]=> array(10) { ["id"]=> int(465237287941332994) ["id_str"]=> string(18) "465237287941332994" ["indices"]=> array(2) { [0]=> int(44) [1]=> int(66) } ["media_url"]=> string(46) "https://pbs.twimg.com/media/BnTa2TQCYAIdbsW.jpg" ["media_url_https"]=> string(47) "https://pbs.twimg.com/media/BnTa2TQCYAIdbsW.jpg" ["url"]=> string(22) "https://t.co/zxeybM0D3b" ["display_url"]=> string(26) "pic.twitter.com/zxeybM0D3b" ["expanded_url"]=> string(63) "https://twitter.com/gerkmulder/status/465237292630953984/photo/1" ["type"]=> string(5) "photo" ["sizes"]=> array(4) { ["small"]=> array(3) { ["w"]=> int(340) ["h"]=> int(601) ["resize"]=> string(3) "fit" } ["large"]=> array(3) { ["w"]=> int(579) ["h"]=> int(1024) ["resize"]=> string(3) "fit" } ["thumb"]=> array(3) { ["w"]=> int(150) ["h"]=> int(150) ["resize"]=> string(4) "crop" } ["medium"]=> array(3) { ["w"]=> int(579) ["h"]=> int(1024) ["resize"]=> string(3) "fit" } } } } } ["favorited"]=> bool(false) ["retweeted"]=> bool(false) ["possibly_sensitive"]=> bool(false) ["lang"]=> string(2) "nl" } array(22) { ["created_at"]=> string(30) "Sat May 10 21:00:19 +0000 2014" ["id"]=> int(465234903723175937) ["id_str"]=> string(18) "465234903723175937" ["text"]=> string(15) "Boobies! #ESF14" ["source"]=> string(84) "Twitter for Android" ["truncated"]=> bool(false) ["in_reply_to_status_id"]=> NULL ["in_reply_to_status_id_str"]=> NULL ["in_reply_to_user_id"]=> NULL ["in_reply_to_user_id_str"]=> NULL ["in_reply_to_screen_name"]=> NULL ["user"]=> array(2) { ["id"]=> int(29184348) ["id_str"]=> string(8) "29184348" } ["geo"]=> NULL ["coordinates"]=> NULL ["place"]=> NULL ["contributors"]=> NULL ["retweet_count"]=> int(0) ["favorite_count"]=> int(0) ["entities"]=> array(4) { ["hashtags"]=> array(1) { [0]=> array(2) { ["text"]=> string(5) "ESF14" ["indices"]=> array(2) { [0]=> int(9) [1]=> int(15) } } } ["symbols"]=> array(0) { } ["urls"]=> array(0) { } ["user_mentions"]=> array(0) { } } ["favorited"]=> bool(false) ["retweeted"]=> bool(false) ["lang"]=> string(2) "sl" } array(22) { ["created_at"]=> string(30) "Sat May 10 20:59:13 +0000 2014" ["id"]=> int(465234629130485760) ["id_str"]=> string(18) "465234629130485760" ["text"]=> string(56) "Talking loud and nasely is not singing, or is it? #ESF14" ["source"]=> string(84) "Twitter for Android" ["truncated"]=> bool(false) ["in_reply_to_status_id"]=> NULL ["in_reply_to_status_id_str"]=> NULL ["in_reply_to_user_id"]=> NULL ["in_reply_to_user_id_str"]=> NULL ["in_reply_to_screen_name"]=> NULL ["user"]=> array(2) { ["id"]=> int(29184348) ["id_str"]=> string(8) "29184348" } ["geo"]=> NULL ["coordinates"]=> NULL ["place"]=> NULL ["contributors"]=> NULL ["retweet_count"]=> int(0) ["favorite_count"]=> int(0) ["entities"]=> array(4) { ["hashtags"]=> array(1) { [0]=> array(2) { ["text"]=> string(5) "ESF14" ["indices"]=> array(2) { [0]=> int(50) [1]=> int(56) } } } ["symbols"]=> array(0) { } ["urls"]=> array(0) { } ["user_mentions"]=> array(0) { } } ["favorited"]=> bool(false) ["retweeted"]=> bool(false) ["lang"]=> string(2) "en" }
As a result, i have pasted the code:
<?php
$tweets = getTweets('gerkmulder', 3);
foreach($tweets as $tweet){
var_dump($tweet);
}
?>
When i reverse the username and number the result is the same ??
What am i doing wrong?
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Do you know why the plugin would only be loading the current months tweets?
I am accessing an account with a long history of tweets but I’m only getting the 4 from april.
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hi, I’ve successfully configured other Twitter plugins but I’d love to use this one as it will give me the most flexibility.
However, after installing and adding my API Keys I get the following error message when using this code:
<?php
$tweets = getTweets( 'USERNAME', 10 );
var_dump($tweets);
?>
array (size=1)
‘error’ => string ‘Something went wrong with the twitter request: null’ (length=51)
Can anyone help?
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hi!
I got the plugin, the access token and key and I’m trying to apply this stuff into my plugin edit page. Could you tell me where I should paste in what? I see 6 different links full of code there.
The theme I use is Swift Ideas: Neighborhood. They have an existing widget for twitter and they suggest using oAuth Twitter Feed to make it work.
Please help. I’m so close.
<3 Angela
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hello,
While the plugin used to work fine, a few days ago I started to get the following error:
file_put_contents(…\wwwroot\wp-content\plugins\oauth-twitter-feed-for-developers/.tweetcache) [function.file-put-contents]: failed to open stream: Permission denied in …\wwwroot\wp-content\plugins\oauth-twitter-feed-for-developers\StormTwitter.class.php on line 164
Tweets do show up correctly right below this error and no changes were made to the website before this error occurred.
Does anyone know how to fix this issue? Thanks for your help.
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>Hi all,
When updating the plugin, my sites homepage and other pages break and only show background graphics, but no content.
Any idea what would be causing this or what a remedy would be?
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
]]>