[twitter-dev] Re: Private account
I figured out how to implement Abraham's OAuth code. I added this to my callback page, but nothing shows up: $to = new TwitterOAuth($consumer_key, $consumer_secret, $oauth_access_token, $oauth_access_secret); $content = $to-OAuthRequest('https://twitter.com/statuses/ user_timeline.xml?', array('screen_name'=username), 'GET'); $user = simplexml_load_string($content); if ($user-screen_name!='') { echo 'pre'; print_r($user); echo '/pre'; } else { if ($user-error!='') { echo 'h2ERROR: '.$user-error.'/h2'; } } Any ideas what I am doing wrong?
[twitter-dev] Re: Private account
Nevermind. Figured it out. The code works now.
[twitter-dev] Re: Private account
Thanks for the quick reply guys. Having all the employees follow the boss is not an option since not all employees want a twitter account. Zac, Twitter was the CEOs choice of messaging. I have very little say in what he chooses. So, I am not sure if he is open to Yammer. I will check it out though. Raffi, can you elaborate on how to implement your suggestion. I implemented Abraham's OAuth code, but I think Twitter only approves websites on the internet not on a private network, because when I ran the code and allowed access twitter did not return with a custom greeting. N.
[twitter-dev] Private account
Hi, I have the following requirement. I set up a private twitter account for my boss. His tweets need to be visible to all the employees. So, the tweets must be displayed on the company's intranet so employees have a central place to read them. But the issue is that this is only possible with public accounts and not private accounts. Is there any way around this? Thanks.