jimg Posted October 18 Share Posted October 18 I'm trying to gather statistics from a facebook public group by reading the "posts" section into a file, where I can manipulate them a bit. I tried creating an RSS feed and it didn't work at all and then my free trial expired. As with most modern pages, the classic Autoit structures are absent, and the page source is just a mass of nested <div>s of absurd complexity. I just need to get the most recent post since it is a low frequency site and I can do regular checks. Any suggestions? Link to comment Share on other sites More sharing options...
argumentum Posted October 18 Share Posted October 18 ...if reading this forum did not bring about a solution, ...I don't have an answer 🤷♂️ Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
SOLVE-SMART Posted October 18 Share Posted October 18 (edited) Hi @jimg 👋 , how about providing the URL of your target page? Also take a screenshot of which area you are talking about and let us know about the possible case a login to the site is involved (I guess not, because you wrote public group site). What did you try so far? InetGet()? UIA? WebDriver? _WinHttpSimpleRequest()? Seems to be a pretty easy task, but with this lack of information it's hard to suggest anything 🤔 . Best regards Sven Edited October 18 by SOLVE-SMART argumentum 1 Stay innovative! Spoiler 🌍 Au3Forums 🎲 AutoIt (en) Cheat Sheet 📊 AutoIt limits/defaults 💎 Code Katas: [...] (comming soon) 🎭 Collection of GitHub users with AutoIt projects 🐞 False-Positives 🔮 Me on GitHub 💬 Opinion about new forum sub category 📑 UDF wiki list ✂ VSCode-AutoItSnippets 📑 WebDriver FAQs 👨🏫 WebDriver Tutorial (coming soon) Link to comment Share on other sites More sharing options...
jimg Posted October 18 Author Share Posted October 18 I haven't done anything new with AutoIt for a few years. I haven't tried anything yet except to examine the results of _InetGetSource to see if I could do string searches. Your list of alternatives gives me some directions to research and if I can't solve this problem, I'll be back with the info requested. Thanks! Link to comment Share on other sites More sharing options...
jimg Posted October 18 Author Share Posted October 18 I can't seem to get the UISpy Includes in the right folder. I've tried everywhere, but don't overlook that I'm a 75 year old ex-hardware engineer. I thought I had it running back when it first came out. Link to comment Share on other sites More sharing options...
Solution jimg Posted November 1 Author Solution Share Posted November 1 My data source dried up, so never mind. Link to comment Share on other sites More sharing options...
yahaosoft Posted November 6 Share Posted November 6 You can use _IECreate and _IEBodyReadText to obtain the code of the Facebook page, and then use regular expressions to analyze the data you need. Thanksgiving... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now