Hi,
I've successfully tried this a number of times.
You're probably going to have to do some debugging. One thing you could try is this.
Replace this line.
Code:
updateStatus($user, $password, $message);
with
Code:
$result = updateStatus($user, $password, $message);
$messageStack->add_session($result, 'error');
Now when you add a new product, you should see a red error bar at the top of the page, containing a lot of unformatted information.
If you 'view source' for that page you should see something like this.
Code:
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="messageStackError">
<td class="messageStackError"><img src="images/icons/error.gif" border="0" alt="Error" title=" Error "> <?xml version="1.0" encoding="UTF-8"?>
<status>
<created_at>Mon Jun 22 19:53:49 +0000 2009</created_at>
<id>2283649261</id>
<text>Zen Cart has a new product. http://tinyurl.com/lxpf9k</text>
<source>web</source>
<truncated>false</truncated>
<in_reply_to_status_id></in_reply_to_status_id>
<in_reply_to_user_id></in_reply_to_user_id>
<favorited>false</favorited>
<in_reply_to_screen_name></in_reply_to_screen_name>
<user>
<id>32979144</id>
alternatively there might be some error information returned by the twitter api.
If you do not get the error message, then the code does not seem to be executing.