• 0
Sign in to follow this  
Followers 0

unknown twitter error

Question

Posted · Report post

i have 2 sites. both using platform pro 3.5.1. and using Base. Both using Wordpress 3.2.1. Both Hosted by GoDaddy with the economy hosting package. On one site: the twitter feed that came with Platform Pro works. On the new site, i get the error. And before you all tell me to check for plug in conflicts. I have only installed some and not all of the recommended Platform Pro plug ins. So.. I have been reading the threads, and pross makes a good case that there could be server issues: (although I am sure that many people building wordpress sites are budget challenged and not using their own servers, but the usual suspects of hosting providers out there) but i am skeptical in this case. So, if this isn't a plug in problem, and probably isn't a hosting problem... then what? Any thoughts?

Share this post


Link to post
Share on other sites

20 answers to this question

  • 0

Posted · Report post

sorry. forgot one important detail: i am pulling in the SAME twitter account.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Wendy, This could be a hosting problem because the host may not be allowing the two feeds on a permission or sharing violation basis. That's something you really should check with them. I don't think that's a matter of budgets, but of settings, permissions, rights and resources. I'm unclear if the twitter link uses many resources, but it might, and this too would result in one of them shutting down. One thing's for sure, it's not a theme problem as the theme can't stop an external link such as Twitter or Facebook from connecting. However, have you checked all your settings in both accounts that they're exactly the same, making sure that the twitter link is activated for the one currently not working? Specifically, on the Blogs And Posts settings, and making sure the link is exactly the same under Header And Nav settings and finally, the twitter user name is the same, precisely, in both sites under Global settings. Lastly, have you activated the child theme, Platform Base?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hey there. thanks for thinking of all of these things. But, I don't think we have it figured out yet. To be clear, i really tested all of this. Here is what i did... Installed Platform Pro, then Base and activated Base. I entered my Twitter name into the Platform settings panel Global Options. And I immediately got the error. Unknown Twitter error @mytwittername (my twitter handle). The curious part is that the word mytwittername is a live link, and when clicked goes to my twitter page, so clearly i am communicating with Twitter. Then, I deleted the name of my twitter account from the Global Options panel and went directly to twitter and got the code from their site. I copied the code into a text widget. And Voila! The twitter feed works. Taking your suggestion that maybe their can't be two calls to Twitter, I also deleted the twitter URL from the Header and Nav, removed the code from the widget AND deactivated JetPack which comes with the Wordpress install, And still the feed that comes with Platform gives me the same error, but still with a clickable link to my twitter page. FYI. the site is brand new and i am only working on the homepage so far, so it is unlikely there are many opportunities for user error or conflict. Thanks again for your help. I am grateful for any other thoughts.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hey Wendy, What happens if you use another Twitter username?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi, I'm also getting an intermittent unknown error message....sometimes it works....but mainly an error www.lucyairambulance.org.uk any ideas!?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Unknown Twitter error @mytwittername (my twitter handle). The curious part is that the word mytwittername is a live link, and when clicked goes to my twitter page, so clearly i am communicating with Twitter. Wendy that is just a normal html link, your browser is opening twitter there,not your server ;) These intermittent problems are because you are on shared hosting, twitter has enabled IP based throttling for its API, so if any of the 673 other sites that all share your server are hammering twitter, the whole server gets barred. http://www.yougetsignal.com/tools/web-sites-on-web-server/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Pross - thanks. I know that is your standard answer, but in this case it seems unlikely for 2 reasons. the twitter feed that comes with platform NEVER works, and the Twitter code taken directly from Twitter NEVER fails. It isn't an intermittent problem. Also, I have them both activated right now, since isolating them didn't make a difference and I can see 1 feed working, the other not. Kate - i swapped out for different twitter username and it is exactly the same. the code taken from twitter is working 100% of the time. The code from the twitter feed that comes with platform NEVER works. It has got to be something else. Don't forget the link to the twitter account works. Just nothing feeds into the plugin that comes with Platform. Does anyone know who makes this plug in? maybe I can contact them. Twitter made a lot of changes to the oauth codes, but it was long enough ago, i would assume any bugs have been fixed. Maybe it has something to do with that?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Wendy, it is not a standard answer. The twitter section in Platform is not an external plugin. Its code written by us, based on the same code used by the wordpress jetpack plugin. It does NOT use oauth, it queries the twitter API directly using the twitter name you supply and stores the result. You say you have two sites that are both intermittent?? I'm assuming they are on the same hosting right? So they will have the same IP, Shared with 600+ other sites. Your choices are: 1. Find a plugin on wordpress.org that uses oauth to connect to twitter. 2. Get some hosting with a dedicated IP.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Pross. thanks. I meant no offense. I know that you have advised that shared servers can be the problem, but I do not understand that explanation in this case. I am saying the problem is NOT intermittent. The platform code doesn't pull in the feed. EVER. the twitter code taken directly from twitter ALWAYS works. Re:oauth, i don't need it. I was just trying to be helpful as to what else the cause may be. You know better than i possibly could. But, I don't think that the shared server is responsible for the following reason. The Platform Plug-in NEVER worked. Even before I added any plug ins.. It always gives me the same message. "Unknown Twitter Error", but has a live link to my twitter account. Using the code from Twitter, I copied and pasted into a text widget and the code from Twitter ALWAYS worked. Same twitter account as the one that doesn't work. Same hosting, Same page on the my site: the home page. I tried a variety of combinations to ensure only 1 twitter call was being made, in order to see if that was the source of the conflict and still the platform plugin doesn't pull in the feed. Right now, I have both feeds on the home page and therefore connecting to the same server at the same time, and the plug in doesn't work. The Twitter Code Does. I would love to get to the bottom of this. Thanks so much. Wendy

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

What twitter code? can you paste it to pastie.org? [i]but has a live link to my twitter account. [/i] This is a simple html link, it is not anything pulled fro the server. If it isnt pulling the feed ever, and you are always getting the unknown error, it means your shared server cannot connect to the twitter api at all., It isnt even getting a 404, it is being refused probably for overuse. Show us that code that works.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

this is the code that i copied and pasted from twitter. it always works. So it seems that my server IS connecting to Twitter? This shows up on my homepage in a text widget. The same page where the platform plug in is. The plug in Never works.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Wendy, js is run on the client not the server. Your browser is loading that js, and fetching tweets and displaying them, not your website. All i can suggest is contacting webfusion and asking for a dedicated IP, usually costs $1 a month or something. Then you wont be sharing with 675 other people.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

hey there. i did find out 1 interesting thing. If you recall, I have 2 wordpress sites running platform pro. Both have the same platform pro twitter plug in, both call the same twitter account, both are on the same shared GoDaddy server. and 1 works and 1 doesnt. Interestingly, the one that works is running WP 3.1.2 and the one that doesn't work is running 3.2.1. Pross? do you think that is significant? I am completely stumped.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Wendy, Its always recommended to always have the latest version of Wordpress installed, but I don't think this is the culprit. I would advise like Pross said to contact your web host.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

actually it is the other way around. the feed works on the old version of WP.. The site that doesn't work has the latest wordpress installed. I spoke to my web host. Godaddy. they said ... pshaw... because clearly i can connect to twitter through the twitter widget that i downloaded with their code. i have given up. for now. FYI.. i have also tried other Twitter plug ins. NONE work. the only way to get a twitter feed is directly pasting the code.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

GoDaddy is no friendly web host so I am not surprised this is happening. : I'm not sure of any other solutions (other than switching web hosts, which is an inconvenience).

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Wendy, the code you pasted is javascript, it loads the tweets through your browser, thats why it works anywhere it is not even on your server. Your browser executes that js and your browser fetches tweets to your PC using your IP, not your server. If no server side twitter plugins work then it is definatly your server IP that is being rejected by twitter for overuse. the only way round it is to either us clientside js ( that you know works ) or get your own dedicated IP from godaddy.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

well, i will be able to give you the answer on friday. we are getting a dedicated server. (for other reasons) so, i can be the true guinea pig. if it works... hats off to you.. if not... back to the drawing board! thanks so much for all your help. One thing though... based on your answer, should we assume that the hardcoded plugin that comes with platform is using another means to call twitter?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

yes, it is communicating directly. If the jetpack for wordpress plugin shows your tweets then so will platforms, it uses the exact same method.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

i will check. thanks so much.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0