• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 964
  • Last Modified:

Twitter integration with zend

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
V2Solutions
Asked:
V2Solutions
  • 3
1 Solution
 
V2SolutionsAuthor Commented:
Hey the issue is solved, we did it ourself...
0
 
V2SolutionsAuthor Commented:
I was also banging my head on this problem and a `ntpdate pool.ntp.org` did wonders!
0
 
V2SolutionsAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now