zubijaw Posted January 6, 2012 Share Posted January 6, 2012 Hi!I've got a problem. I want to make my program to click in the facebook like button XFBML version - tagged<fb:like ...>. In a another forum I've found a source code clicking in the iframe version of like button (<iframe ...>), but I need to have a XFBML version to sign subscribe event.The code to click like button <iframe> version:#Include <ff.au3>If _FFConnect() ThenIf _FFOpenURL("https://www.lubie.to/baza/przycisk-lubie-to-na-Twojej-stronie") Then$obj = _FFObjGet("iframe", "tag", 1)$url = _FFObj($obj, "src")_FFTabAdd($url)$sObj = _FFXpath("//a/span","",9)_FFClick($sObj)EndIfElseMsgBox(0,"Error:", "Can't connect to FireFox!")EndIfSo my question is:How to click in the <fb:like> button? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 6, 2012 Moderators Share Posted January 6, 2012 zubijaw, You asked this same question yesterday - and then asked how to delete it. You did not answer when I asked you why, so I locked the thread. Why are you asking it again now? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
zubijaw Posted January 6, 2012 Author Share Posted January 6, 2012 (edited) I want to delete the second post in previous post only. I asked again because I don't know the answer yet. Please don't delete or lock this topic. Edited January 6, 2012 by zubijaw Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 6, 2012 Moderators Share Posted January 6, 2012 zubijaw,I understand now. But another question: From what I can understand of the code you seem to be automating a "Like" button on a website - is this in fact the case? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
zubijaw Posted January 6, 2012 Author Share Posted January 6, 2012 If I understood you: yes the code above clicks automatically in the iframe version of facebook like button. But I want to have code that automatically clicks in the XFBML facebook like button, the code of this button is: <fb:like href="URL" layout="button_count" show-faces="false" width="450" action="like colorscheme="light|dark" font="arial"></fb:like> And I don't know how to do it automatically using ff.au3. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 6, 2012 Moderators Share Posted January 6, 2012 zubijaw,We are not very keen on people automating things such as "Like" buttons in websites - it is too open to misuse. Please do not open a 3rd thread.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts