Getting "Error 500 - Internal Server Error" on my website


#1

Hi everyone!

I’m using the php example found on this blog post:
http://www.webdevdoor.com/php/authenticating-twitter-feed-timeline-oauth/

to get a custom twitter feed onto my website. It uses OAuth v. 1.1
It had been working in August (2014) when I first got it started and then sometime in late august/early september it stopped working and now I only get an Internal Server Error.

I double checked the location of the path to the twitter oauth library. I double checked all my authentication codes. I even regenerated my codes and entered the new ones.

I’m wondering if there was a minor change to the api that I missed, or some sort of reset I may need to do with this application on my dev. account. Or anything else that may have stopped this from working. I’ve been googling all day and haven’t found anything that’s helped.

Thanks!!!
Mike Sperone


#2

Just to make sure I’m doing this correctly/I’m not crazy… The get request for a user’s status update is:
GET https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=twitterapi&count=2

Is this still the correct url for the get command?


#3

:confused: I needed to update my php version on my server … I had 5.2, I updated to 5.4 and now it works


#4

Great to hear you got things working!