I cannot get a users email when i use facebook login

I’ve sầu been testing out a ton of different ways to lớn target people through Facebook’s advertising platform recently. During my testing, I got a little sidetracked & started looking at ways to not only gmail your own Facebook followers, but also the followers of your competitors.

Bạn đang xem: I cannot get a users email when i use facebook login


Sound good?

…I thought so. Let’s get started then.

Extracting the UIDs of Your Followers

Everyone that has a Facebook profile will have sầu a unique user ID (UID). This is a numerical ID code that is used by Facebook lớn identify each user protệp tin (along with a few other pieces of data). If you’ve sầu spent a lot of time using Facebook advertising, then you’ll probably be fairly familiar with UIDs.


To be able to lớn gather any extra information about your followers, you’ll need each of their UIDs. Unfortunately, Facebook doesn’t make acquiring this information easy for you. In fact, they actively make it tough so that sneaky little marketers like me can’t use the UIDs khổng lồ target users in a way that doesn’t use their own targeting & segmenting options (which aren’t great).

In order to lớn extract these UIDs, you’ll need to lớn use a tool called Facebook ID Scraper (Note: I have no affiliation with this tool whatsoever). The tool costs $50, but you can use it under its không tính phí license for up to lớn 500 UIDs.

There have sầu been a number of tools lượt thích this that keep getting shut down by Facebook, but this tool seems lớn have sầu stuông xã around the longest (new ones keep popping up all the time, though). I actually mentioned a tool called Social Lead Fox previously that did this job; however, this tool no longer works now.

Anyway, once you’ve got the tool up và running, you can tìm kiếm for your Facebook page using the search tool & export all of the UIDs khổng lồ a .csv file. It’s really simple.


Scraping the Facebook Email Addresses

Now that you’ve sầu extracted all of your Facebook followers’ UIDs, it’s time lớn gather their gmail addresses (this is where it gets interesting).

To carry out the next step, you’ll need the SEO Tools plugin for Excel (which is free). If you’ve sầu never used it before, then you’re seriously missing out! I recorded a full đoạn phim tutorial on using the tool here as well.

Xem thêm: Bảng Câu Hỏi Khảo Sát Mức Độ Hài Lòng, Mẫu Bảng Khảo Sát Mức Độ Gắn Kết Nhân Viên

Once installed, open up your spreadsheet with all the Facebook UIDs within it. In the column lớn the right of all the UID values, you’ll want lớn add the following formula:

="http://graph.facebook.com/"&A1This will parse together the Facebook UID inlớn the Facebook Graph URL. The result should look something like this:


Now, apply this khổng lồ all of the cells in the column.


You’ll notice that if you visit one of these URLs, you’ll see all of the publically visible Open Graph data around each person. This looks something like this:

"id": "1050799186", "first_name": "Peggy", "gender": "female", "last_name": "Chan", "link": "https://www.facebook.com/yummycheesecake", "locale": "en_US", "name": "Peggy Chan", "username": "yummycheesecake"Using some simple JSON code, any of this data can be easily extracted for each Facebook user. This includes their full name, location, gender và username. You’ll notice that the gmail address isn’t included here, though.

Don’t worry, as every Facebook tin nhắn address is made up of the Facebook username followed by
facebook.com suffix. Simple!

Well, it is if you know how…

All that you need to lớn vị is write the following formula in column C of your spreadsheet:

=JsonPathOnUrl(B1, "username")Once you press enter, the SEO Tools plugin will work its magic và return the username of the profile. Now, you just need to apply this to all cells in the column và wait a few minutes for all the values khổng lồ be processed.


Finally, in Colum D, add the following simple formula lớn parse the username inkhổng lồ a full tin nhắn address:

facebook.com"Once you apply this to lớn all of the cells in the columns, you’ll have a nice, long danh mục of emails.

As an added bonus, you could grab the full names of all the profiles you’ve sầu gathered, which is perfect if you want to personalise your emails.


All you need lớn vị is add the following formula to column E:

=JsonPathOnUrl(B1, "first_name")That will grab the first name of all your followers (you just need to lớn apply the formula to lớn all cells in the column). Then, you can bởi vì the same for their last names by adding the following formula lớn column F:

=JsonPathOnUrl(B1, "last_name")


Using Facebook Thư điện tử Addresses

You’re probably wondering what these Facebook tin nhắn addresses are used for. Well, they were previously used lớn send direct messages to your Facebook protệp tin, but Facebook recently scrapped that. Now, any tin nhắn sent directly to your Facebook email address will go directly to lớn the primary personal tin nhắn address on your trương mục.

That’s right – their personal gmail.

But just hold on a second. Before you go và blast out a message to all of your followers’ gmail addresses, you’ll want to lớn know a few things first:

For some reason, you can’t skết thúc emails from Microsoft Outlook to
facebook.com tin nhắn addresses. I have no idea why, but this is just what I’ve sầu found from my testing. You can, however, use either Gmail or Hotmail (I haven’t tested with the likes of Mail Chimp, Aweber, etc. but would imagine that will work).The first email that someone receives lớn their Facebook email address won’t be delivered to lớn them. Instead, it will trigger an gmail to be sent to them from Facebook, alerting them to the fact that they can disable emails from their
facebook.com email address coming through khổng lồ their primary email address. If you’re like me, you’ll probably disthẻ any gmail from Facebook without even reading it. However, once this gmail has been sent lớn them, it won’t be sent again, và any gmail sent lớn their Facebook email address will instantly come through to them directly from your gmail address.

Xem thêm: Bỏ Qua Quảng Cáo - Chặn Một Số Quảng Cáo Nhất Định

With these two points in mind, I suggest setting up a random Gmail or Hotmail tài khoản and sending a blank gmail through lớn your danh sách of users lớn trigger the warning gmail from Facebook (only vì this once).

Once you’ve sầu done this, you are ready khổng lồ start messaging your Facebook followers directly from your own gmail trương mục. Win!

It’s worth noting here that you’ll want khổng lồ be really careful not khổng lồ just start spamming people. You’ve sầu worked really hard khổng lồ build your Facebook following, so don’t throw it all away with crappy emails. Offer something of value!

Chuyên mục: Kinh doanh online