Get FB/twitter/instagram link from webpage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
outbeyond
Forum Newbie
Posts: 7
Joined: Wed Apr 13, 2016 6:32 am

Get FB/twitter/instagram link from webpage

Post by outbeyond »

I have about 65K website links. I want to go through all of them and check if they have facebook, twitter or instagram page and get the output of that. What would be the easiest way to do that and what would be performance of the script since it has to check 65k links. I am thinking about just looking at the source code of the page and checking for facebook, twitter or instagram links and outputing it, but it might have other links to facebook pages not related to the website i am searching.
TopCoder
Forum Newbie
Posts: 8
Joined: Sun Jul 10, 2016 3:38 pm

Re: Get FB/twitter/instagram link from webpage

Post by TopCoder »

Their's no way you're going to be able to match up Facebook Fan Pages with the URL's - They can always differ.

You can however script it to pull back FACEBOOK URL LIKES, G+ URL Likes and LINKED IN. I don't think you can do twitter (They don't have a URL Like mechanism)

There's sample code all over the place, most SEO Tools pull back this information, calling it "Social Signals"
Post Reply