I think I found the trouble. I had switched the order of the lines below,
putting config.php first:
require_once('/home/soundser/public_html/includes/twitteroauth/twitteroauth.php');
require_once('/home/soundser/public_html/includes/config.php');
Putting it back fixed the redirect.
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
http://groups.google.com/group/twitter-development-talk