Solved

Twitter integration with zend

Posted on 2010-09-08
5
948 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

785 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