Hi, so I post around 30 facebook market place ads a month, its a super tideious task and could easily be done by a computer. The issue is, is that facebook has such a weird structure when I inspect elements. the image attached is a example of it, the class names are this weird code, and I cant find any names, ids, on these elements to give to Selenium. at the moment I use py auto GUI + selenium to click around the web page, but this is super hard coded and doesn’t work all the time. so please let me know what you guys recommend

  • @treesquid
    link
    610 months ago

    If it was easy to automate, then spammers, scammers and corporate pigfuckers would completely inundate marketplace with so much garbage it would be utterly unusable. Accept that the only reason your 1 Facebook ad per day produces any results at all is because it’s hard to automate, and if it weren’t, nobody would ever see any of your ads. The fact that you’re hunting for IDs instead of page structure patterns already suggests a novice level, so imagine all you needed was awareness that Selenium exists in order to spam Marketplace to death with MLM ads and scam posts. There are already way too many scam posts when a person actually has to interact with the site. If you could easily do what you want, you wouldn’t be able to sell anything, because >99% of content would be bot posts without aggressive content moderation. That moderation would either be human, which is expensive, or automated, which would be very inaccurate and take down more legitimate posts. There’s no world where you can legitimately automate this and bad actors can’t.

    If I had an answer that would help you, I would never post it because it would actively degrade everyone’s Marketplace experience, including yours, until FB fixed it and made it hard to automate again.

    • @arm321OP
      link
      110 months ago

      yeah i understand your point completely, and it makes sense why they made it so hard. Thing is that I genuinely post this many ads for my furniture business and all of them are legit. it just sucks cause its so time consuming

      • @Nindelofocho
        link
        English
        110 months ago

        Why not buy Facebook advertising space then? Users looking for furniture on fb marketplace are typically looking for cheap used furniture and occasionally the weird antique to refurbish