|
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 & 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" />
|