View Single Post
Old 01-28-2013, 10:16 PM   PM User | #1
bklocinski
New to the CF scene

 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bklocinski is an unknown quantity at this point
Code To Click Button On Facebook Page In IE

I have been working on some programming using VBA to fill foms and click a submit/enter button but from what I am reading you need to use Ajax with Facebook. I know very little about Ajax so I am hoping someone can point me in the right direction.

Normally I would use something like this to click the submit button but it is not working with Facebook:

IE.Documents.Forms(0).Submit
or
IE.Document.getElementbyID("submit-button").Click

Source Code:

<div id="agree"></div>
<div id="submit-button" ><input id="social_app_id" name="social_app_id" type="hidden" value="17430" />
<input id="company_timezone" name="company_timezone" type="hidden" value="Eastern Time (US &amp; Canada)" />
<input type="hidden" name="plugin_context" value="to long to post<input class="engagements_submit" data-submit-label="Enter to Win" data-submitting-label="Submitting..." name="commit" type="submit" value="Enter to Win" />
bklocinski is offline   Reply With Quote