Groups
Groups
Sign in
Groups
Groups
SuperTweet MyAPI Proxy
Conversations
About
Send feedback
Help
Vbscript and "failed"
33 views
Skip to first unread message
Alex Perco
unread,
Sep 18, 2013, 12:40:47 PM
9/18/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to supertweet-...@googlegroups.com
Hi,
I don't know why this is not working, always returns "failed".
strUsername and strPassword are ok.
Any help? Clues?
Thanks in advance.
Function
SendToTwitter
(strMessage
,strUsername
, strPassword
)
Dim
objHTTP
Set
objHTTP
=
CreateObject
(
"Microsoft.XMLHTTP"
)
objHTTP.open
"POST"
,
"
http://api.supertweet.net/1.1/statuses/update.json
"
,
false
, strUsername
, strPassword
objHTTP.setRequestHeader
"Content-Type"
,
"application/x-www-form-urlencoded"
objHTTP.setRequestHeader
"WWW-Authenticate"
,
"Basic"
objHTTP.send
"status="
& strMessage
SendToTwitter
= objHTTP.responseText
Set
objHTTP
=
nothing
'Release the object
Set
objHTTP
=
nothing
'Release the object
End
Function
Mr Blog
unread,
Sep 21, 2013, 11:58:51 PM
9/21/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to supertweet-...@googlegroups.com
Try examining the response to see the HTTP error and other headers/messages. They should tell you what's wrong.
Reply all
Reply to author
Forward
0 new messages