Posts

Build Your Facebook Custom Audience Through Graph Search

Here’s how to build a Facebook custom audience for free using their built-in graph search feature. This method doesn’t use the API. This is purely gathering data from the public graph search page in a semi-automated way. The advantage of building a custom audience this way is it’s much more intuitive when doing searches and gives you more flexibility than the current software tools I have seen so far.

Download the “Scraper” extension for Google Chrome browser

media_1389397896947.png

Here’s the link to download the Scraper extension.

Log in to Facebook and do a search for your target audience

media_1389398005606.png

Quick Tip: To target people that may be a little more engaged with a page, use the “people that like photos by” search – e.g. “people that like photos by Ralph Lauren”.

Right click on the page and select “Scrape Similar…”

media_1389398133503.png

It doesn’t really matter where you right click becuase you will be replacing the Xpath selector in the next step anyway.

Enter this into the Xpath selector field and click “Scrape” – //div[contains(@data-bt,’id’)]/@data-bt

media_1389398350947.png

*Disclaimer – This selector path is working at the moment. If Facebook decides to change their page layout or structure then this may not work in the future – //div[contains(@data-bt,’id’)]/@data-bt

What we are doing here is scraping the page for each user’s Facebook ID. Facebook can use this value to build a custom audience for your ads.

Click Export to Google Docs

media_1389398565632.png

Delete rows with irrelevant data

media_1389398948415.png

You will need to delete any irrelevant data from the spreadsheet. The first 2 rows for example and usually the last row so you are only left with the data that contains user ID’s.

Enter this into the B1 field – =RIGHT(LEFT(A1,FIND(“,”,A1) -1),FIND(“,”,A1) -7)

media_1389398678382.png

This will select only the ID from the first column text. =RIGHT(LEFT(A1,FIND(“,”,A1) -1),FIND(“,”,A1) -7)

 

Drag that cell down using the crosshair cursor to reproduce that function on other rows

media_1389399059921.png

You can get the crosshair cursor by moving your mouse to the bottom right of the B1 cell.

Copy the contents of that column

media_1389399156258.png

Open a new Sheet and select “Paste Special” – “Paste values only”

media_1389399236378.png

This will give you a clean sheet of data that only contains User ID’s ready for export

Select File – Download As – Comma Separated Values

media_1389399345724.png

Now you can upload this CSV file to Facebook as a custom audience

media_1389399502797.png

How To Setup A Custom Facebook Page For Your Product Or Service

As I was going to setup a new Facebook page for my new product “Domain Digger Pro”, I realised I had totally forgot how to do it. I setup my last page with the static fbml application and used the hidden content fb tag to require users to like my page before they could see the hidden content. It’s a great way to get more “Likes” on your page, but I had to research everything about how to do it all over again.

I have made a quick screencam video so that if you’re looking to setup a new Facebook page, this will make things a walk in the park for you, and also for me next time I setup a new page.

Hope this helps you out.

I have included the actual html content I used in the static fbml box below so you can copy this layout for yourself. You’ll notice I have linked to some external images on my own domain. If you want to use these generic images, that’s cool, just please upload them to your own server first. Don’t leach off my server. Thanks!

<style type="text/css"> <!-- .signup-box { background:#fbf6de; border:solid 1px #d9ce9a; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; padding:20px; width:350px; } .border-box { border: dashed; padding:10px; } label { color:#0060c2; display:block; font-weight:bold; margin-bottom:5px; text-align:center; font-family: Geneva, Arial, Helvetica, sans-serif; } --> </style> <h1 align="center"><strong><font color="#CC0000" size="+3" face="impact">&quot;Like&quot; This Page</font><font size="+3" face="impact"> - And Download Domain Digger Pro Free Trial Below </font></strong></h1> <h1 align="center">&nbsp;</h1> <h1 align="center"><font size="+2" face="Courier New, Courier, monospace">Just click the &quot;Like&quot; button at the top of this page and you will instantly see the hidden download links for Domain Digger Pro Free Trial Below. </font></h1> <table align="center" width="360px"> <tr> <td> <div align="center" style="margin-bottom:-20px"><img src="http://www.easiestaffiliatewebsite.com/images/arrows.gif" /></div> <div class="signup-box" align="center"> <fb:visible-to-connection> <div align="center"> <h3 align="center"><a href="https://chrome.google.com/extensions/detail/pokckeeaaghdocnkhilldllmdboikimp?hl=ene"><strong>Google Chrome</strong><br> <br> <img src="http://www.domaindiggerpro.com/images/googlechromelogo.png" border="0"></a> </h3> <p></p> </div> </fb:visible-to-connection> <label>Click The Like Button <br> To See The Hidden Download Links Above</label> </div> </td> </tr> </table> <p>&nbsp;</p> <table width="95%" border="1" align="center"> <tr><td> <div class="border-box"> <h3 align="center"><strong> About Domain Digger Pro:</strong></font></h3> <p align="center">Domain Digger Pro is perfect for you if you are interested in buying a keyword targeted domain for your new website. If you are looking to build your portfolio of domain names or simply just doing keyword research on your market then you are going to love Domain Digger Pro. </p> <h3 align="center"><img src="http://www.domaindiggerpro.com/images/chromextensionscreenshot2.jpg" width="400" height="275"></h3> <p align="left">This extension takes any input keyword phrase and searches the top keyword research sites to find relevant related keywords. It then checks to see if those keywords are available to purchase as domain names. You can quickly check 100 high volume keyword phrases relating to your target keyword phrase in less than 3 minutes. </p> <p align="left">You can also do further research on your keyword phrase by switching back to the tabs Domain Digger Pro automatically opened to gather related keywords. Their is a wealth of information that you can source using this software, but that's not all. </p> <p align="left">Domain Digger Pro automatically collates the highest volume keywords into a table so you can see exactly which keyword phrases get the most searches each month, and you can also see if those phrases are available for purchase all in one place.</p> <h3 align="center"><img src="http://www.domaindiggerpro.com/images/chromextensionscreenshot.jpg" width="400" height="275"></h3> </div> </td></tr> </table>

Did this help you out? Let me know in the comments?