imperium2335 Posted February 19, 2011 Share Posted February 19, 2011 Hi, How does one post a tweet on their account through a PHP script? What I want to happen is simply post a tweet on my account when a user adds a new picture or comment to my site. I have seen many examples online but none seem to work. Surely it is very simple? Example of working script would be very much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/228212-tweet-from-php-script/ Share on other sites More sharing options...
Jessica Posted February 19, 2011 Share Posted February 19, 2011 You'll need to work with the twitter API. If you have something but it doesn't work, we can try to debug it. In 3rd party code, not here. Quote Link to comment https://forums.phpfreaks.com/topic/228212-tweet-from-php-script/#findComment-1176844 Share on other sites More sharing options...
The Eagle Posted February 19, 2011 Share Posted February 19, 2011 If I remember correctly, Twitter switched to 0auth awhile ago from their API, so you'll need to look into Twitter's 0Auth and work from there, I haven't really messed with it at all to help you out but just to give you some insight. Quote Link to comment https://forums.phpfreaks.com/topic/228212-tweet-from-php-script/#findComment-1176875 Share on other sites More sharing options...
imperium2335 Posted February 19, 2011 Author Share Posted February 19, 2011 Thanks! I got it working using this 0auth. Quote Link to comment https://forums.phpfreaks.com/topic/228212-tweet-from-php-script/#findComment-1176910 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.