Twitter integration with zend

Posted on 2010-09-08
Medium Priority
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.
Question by:V2Solutions
  • 3

Author Comment

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

Accepted Solution

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

Author Comment

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

Become root and type:
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>

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

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

This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
Now many of you may wonder how you can reach great design with least number of essentials. Isn’t stuffing ‘more and more number of elements that speak for the purpose’ the right way to do it? Erm, not always, and in this write-up, you will see why.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

624 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