Hi,
I developed a twitter app which allows user to connect their account to my site and start tweeting, sharing etc… One day when i was testing the app in my localhost i got error 401. When i checked twitter discussion forums i found that wrong date and time will cause this issue and fixed it. My PC got issues with CMOS battery so frequently my PC date and time is shown wrong.
Again a weird experience happened today, when i logged in to my site in server i got error 401 and lost all my twitter data stored in my site, the worst thing is all my clients who got connected to my app too lost their data. I faced a very hard time and many issues with my clients. Then i again reset date time in my local PC and restarted, Now the app in server works fine. this is totally weird, i dont understand how my PC date time affects Server API request to twitter?
I have many clients who use my app, i cannot expect everyone of them to use proper PC or laptop with proper date and time. I need help to handle this error 401 in my server and save all client’s data.
Looking forward for a solution.
Thanks