Solved

Twitter integration with zend

Posted on 2010-09-08
5
949 Views
Last Modified: 2013-11-16
I am trying to integrate twitter application for status update on my godaddy (Plesk) server.
But I keep on getting below error:
“Could not retrieve a valid Token response from Token URL: Failed to validate oauth signature and token”
I am not sure what’s wrong, I am sure that code is written properly, as the same code snippet works successfully on my local sandbox.
I am using Zend Oauth library for twitter integration.
Below is my server configuration:
Operating system: Linux 2.6.18-53.el5
CPU: GenuineIntel, Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz
System Time Synchronization : Enabled

I have created couple of twitter apps on http://dev.twitter.com; one for my local box and one for dev box, and I am using correct API key and Consumer Key for each domain.
I tried searching for answers for this error, I have seen variable thoughts on time sync (like ntpd install) and on server configuration details (like oauth port 443 should be open).
But not sure what all details I need to check on my server.
Any help on this topic would be appreciated.
0
Comment
Question by:V2Solutions
  • 3
5 Comments
 

Author Comment

by:V2Solutions
ID: 33643888
Hey the issue is solved, we did it ourself...
0
 

Accepted Solution

by:
V2Solutions earned 0 total points
ID: 33643891
I was also banging my head on this problem and a `ntpdate pool.ntp.org` did wonders!
0
 

Author Comment

by:V2Solutions
ID: 33643930
We also have ntpdate replacement, if it dont work and give error like "command not found"

Become root and type:
ntp<tab>
This will show you command options.

Next type:
locate ntp<enter>
This will show you all the files or directories whose names include the string ntp in the filesystem.

Finally type:
man ntpd<enter>
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question