473,418 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

How to post data from Access form into a twitter account?

547 512MB
I have a race timing application and when an athlete completes the race, i would like to post his/her results into my twitter account.
Is there anybody out there that has done something similar?
Can it be done?
Oct 30 '11 #1
2 3476
ADezii
8,834 Expert 8TB
I found some Sample Code on the Internet, and I placed it In-Inline for the sake of clarity and brevity. Since I do not have a Twitter Account, I cannot tell you that is actually works. I can, however, tell you that it does Compile. Good Luck, and let us know how you make out. Follow the Instructions below:
  1. Set a Reference to the:
    Expand|Select|Wrap|Line Numbers
    1.  Microsoft WinHTTP Services, version X.X
  2. Place the following Declaration in a Standard Code Module:
    Expand|Select|Wrap|Line Numbers
    1. Public Const HTTPREQUEST_SETCREDENTIALS_FOR_SERVER = 0
  3. Execute the following Code:
    Expand|Select|Wrap|Line Numbers
    1. Dim strInput As String
    2. Dim WinHttpReq As WinHttp.WinHTTPRequest
    3.  
    4. strInput = InputBox("Type in text of Twitter Post", "Post to Twitter Demo")
    5.  
    6. If strInput = "" Then Exit Sub
    7.  
    8. Set WinHttpReq = New WinHTTPRequest
    9.  
    10. WinHttpReq.Open "POST", "http://twitter.com/statuses/update.xml?status=" & strInput, False
    11.  
    12. WinHttpReq.SetCredentials "<UserName>", "<Password>", HTTPREQUEST_SETCREDENTIALS_FOR_SERVER
    13.  
    14. WinHttpReq.Send
Oct 30 '11 #2
neelsfer
547 512MB
Thanks. I will try it and let you know.
Oct 30 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Colleyville Alan | last post by:
I have been working on an Access app that takes info from a file and writes it to a spreadsheet on a form, simultaneously saving the spreadsheet to Excel. I got the idea that the same concept...
1
by: logik3x | last post by:
I'm developping a program to automate the submisson of grades to a website called omnivox.ca (http://brebeuf.omnivox.ca). My problem is that I can't get the login working. I get the cookie right...
3
by: Yourself | last post by:
Hi, I'm trying to post data to PayPal for a shopping cart, basically I want to replicate a form like the following, but create the variables dynamically from code behind: <form...
2
tolkienarda
by: tolkienarda | last post by:
hi all i am sending data from an html form to an update page but since this is still my first script i don't know this step. i've read some stuff on php.net and echoecho but still can't figure how to...
1
by: JohnathanKong | last post by:
Hello, I hope this is the right place to post, but anyways, here goes. I current have a forum, snitz, in place, but am having an IE specific problem. Basically what happens is, I have a page that...
1
by: Silencet | last post by:
Hey everyone, I've been looking, but can't find away to, have a php script redirect to another url with POST data, like form, to it.
8
rrocket
by: rrocket | last post by:
I have been looking all over trying to find a simple example of how this is done... Basically I want to send info from a form to another website API via XML and get the information they send back to...
2
by: eselk2003 | last post by:
I have a Windows application that uses the Windows Internet (wininet) API to post a few lines of text to an ASP.NET page that I'm writing. I know how to process form data in ASP.NET, but not sure...
2
by: fydwell | last post by:
I am just a newbie for PHP. though I tried times to solve this, it is still showing "abnormal visit or too much frequent visit". the normal browser steps as: browse...
0
Niheel
by: Niheel | last post by:
I am looking for a twitter app that will help me manage my twitter account on the iPad. I've heard twitter's own tool is really good. Are there any others?
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.