1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Facebook Post URL Scraper

Discussion in 'Black Hat SEO Tools' started by SnoopyDrew, Jun 4, 2016.

  1. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    Does anybody know of a small bot or maybe even an imacros that can scrape the post urls on a facebook page? If you have this let me know. :)
     
  2. Anakyl

    Anakyl Regular Member

    Joined:
    Mar 29, 2016
    Messages:
    211
    Likes Received:
    41
    Gender:
    Male
    Home Page:
  3. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    I have no idea what any of that means haha sorry I am not code savvy
     
  4. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    figured I would bump this again to see if anybody has any more ideas for me.
     
  5. Mobrich24

    Mobrich24 Junior Member

    Joined:
    Jun 3, 2016
    Messages:
    134
    Likes Received:
    24
    Occupation:
    Capo
    Location:
    Poker Room
    What are you trying to accomplish? I dont think your description is very good
     
  6. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    All of the posts on a facebook fanpage, I want to scrape the urls of them all. So I can add them into facedominator and auto post into them.
     
  7. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    how cheap and I have no idea how to use python lol
     
  8. 5zz

    5zz Newbie

    Joined:
    May 23, 2016
    Messages:
    45
    Likes Received:
    15
    $0. Took me 3 minutes.

    1. Go to the fanpage.
    2. Scroll down as much as you want(the script will "scrape" URLs of posts that you can see somewhere on page).
    3. In Google Chrome, click Ctrl + Shift + C.
    4. Paste this code and click Enter:
    Code:
    !function(){for(var e=[],n=document.querySelectorAll(".fsm ._5pcq"),o=0;o<n.length;o++)e.push(n[o].href);window.open().document.write(e.join("<br>"))}();
    5. A new window/tab will open with all the post links, one by one.

    Enjoy. :)

    PS: Tell me if it works for you.
     
    • Thanks Thanks x 1
  9. okazaki

    okazaki Jr. VIP Jr. VIP

    Joined:
    Apr 16, 2015
    Messages:
    832
    Likes Received:
    374
    Home Page:
  10. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    Thanks for helping! Much appreciated! Where do I post it? it shows elements console sources. Cant find a place to paste it.
     
  11. 5zz

    5zz Newbie

    Joined:
    May 23, 2016
    Messages:
    45
    Likes Received:
    15
    In the "console" tab. :)
     
  12. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    When I try and do that it says VM5495:1 Uncaught TypeError: Cannot read property 'document' of undefined(…)
     
  13. Dseven182

    Dseven182 Junior Member

    Joined:
    Jul 28, 2014
    Messages:
    101
    Likes Received:
    8
    Try Linkclump (ads on chrome)
     
  14. Dseven182

    Dseven182 Junior Member

    Joined:
    Jul 28, 2014
    Messages:
    101
    Likes Received:
    8
    Bookmarked,
     
  15. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    Did not work for me not sure what to do with it.
     
  16. Mobrich24

    Mobrich24 Junior Member

    Joined:
    Jun 3, 2016
    Messages:
    134
    Likes Received:
    24
    Occupation:
    Capo
    Location:
    Poker Room
    Do you think you could make a short youtube video on how to do this? I would be interested in trying this sometime.

    To the op so let me get this straight. You want to scrape all the urls from a fanpage so you can repost them on your fan page?
     
  17. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    I want to scrape URL's of posts from a fanpage. So that I can comment on them with facedominator. Without doing it manually.
     
  18. okazaki

    okazaki Jr. VIP Jr. VIP

    Joined:
    Apr 16, 2015
    Messages:
    832
    Likes Received:
    374
    Home Page:
    Do you want to scrape just the shared link or all type of posts.
     
  19. SnoopyDrew

    SnoopyDrew Senior Member

    Joined:
    Jun 25, 2014
    Messages:
    1,158
    Likes Received:
    635
    Gender:
    Male
    Occupation:
    Affiliate Marketing And SEO
    Location:
    Oregon
    Lets see if I can explain this a little better for you guys sorry. Go to this facebook page https://www.facebook.com/TheEconomist/ I just picked some random page.

    Every one of the posts that they have made on the right side of the page has a URL. I want to scrape those URL's In bulk so that I can use facedominator to run on auto pilot and post a comment to each of those. It has a feature to import large lists of URL's to comment on. For some reason they do not have this feature on facedominator and it would make my life very easy.
     
  20. okazaki

    okazaki Jr. VIP Jr. VIP

    Joined:
    Apr 16, 2015
    Messages:
    832
    Likes Received:
    374
    Home Page:
    Do you want it like this:

    [​IMG]