Betfair Developers


VB6 and Excel
Forum discussing the sample spreadsheet and VB5/6 development. Visual Basic (VB) is the third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its COM programming model.

Post Reply
lmlac lmlac is offline
Junior Member
 
Default Automate forum post

Hi,
Probably not exactly the right place for this, but any help would be appreciated.

I do the admin for a competition under "Your Competitions" on the betfair forum. Sometimes people can't post to the forum for various reasons and send an email to a common email address instead. What I'd like to do is extract the content of the email and post it to the appropriate thread automatically. I've worked out how to extract the email content but I'm having trouble doing the actual posting. I will know the actual url of the thread, so I'm looking for a VBA function like:

Function add_post(thread_url,text)
.... adds text to thread
end function

Any pointers would be greatly appreciated thanks.
LiamP LiamP is offline
Senior Member
 
Default

You will have to logon before you can make the post request, I am not a forum member so not sure what they are using for authentication, is it linked to your betfair login? If its anything like the betfair.data site you are in for a world of pain.
lmlac lmlac is offline
Junior Member
 
Default

The login procedure is the same as for the betting site I think. I have already coded the api login procedure in a bot using VBA so that shouldn't be a problem. And I've already got code to scrape info from the forum. It's just I've never had to send data the other way and from googling it seems each site has different methods.
LiamP LiamP is offline
Senior Member
 
Default

Open up developer tools in chrome, post a reply and see what post request is made, just copy that to your vba code matching the headers.
Post Reply

Tags
forum, vba

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump