How salesforce, neverbounce etc companies provide active user details? - email

I wish to understand how companies like salesforce, returnpath, neverbounce etc provide information about email id's state. For example if you say abhishek#gmail.com, then these companies can tell you whether this email id is active or cold email address.
I am having few queries regarding this.
1. Does Email provider share information of email id with these companies?
2. Can we rely over the result which these companies provide about email ids state?
3. How this data reach to these companies?

Related

Retrieve Data via Facebook webhooks on individual level

We create campaigns in our application and attach customers that we are marketing to. The dealerships may choose snail mail, ringless voice-mail, email, or social media. If the dealership chooses to do a facebook ad campaign, we then create a campaign on business.facebook and upload a list of the customers that we want the add distributed to.
What I am wondering is if there is a way to receive data via the FB webhooks event when the customer views/clicks/likes/etc the ad, that will include the data on the individual level so that we can update the record in our local database that the customer has performed an action, and what that action was?
I have scoured their documentation and cannot seem to find this information.

Telegram bot - importing contacts and request for number

We have a company that has to get in touch with its user over Telegram, we've been thinking a lot and this is what came to my mind, I just want to know is it really possible to do such thing or not.
So basically we made an account to be our customer care service where people can tell us what their problem is and stuff. We also gathered all of our users Phone numbers + first and last name into a xlsx file during their first ever purchase.
Now this has to be done:
Is it possible to import all the phone numbers + names into a bot, and then whenever we receive a message from a customer on our customer care account, we forward their message to the bot, and it gives us their phone number.
This is technically possible for the account itself (not bot) but as Telegram has a limitation for number of contacts (I think it's 10k per acc), we can't do it. (We have over 50k users)
Is that clear or more explanation is needed.
P.S: My question was if it's possible to create a bot to be able to receive a message from a customer and return their number. (We already have their number so it's just like a quick search)
Additional info: If telegram did not have such limitation for number of contacts, we could simply add 50k contacts with a vcf file (on a phone) and see their number when they message us but since there is a limitation, we just want the bot to do this job for us but it has to able to give us their number too.
It will require a lot of work to setup, but it could be done.
Telegram gives every user a userid, but it won't tell you the phone number given that user id. So you have to get the userid by asking Telegram "what userid has phone number xyz" for every user and storing that information.
While it is possible to use the bot api and send a contact with each number to get the user_id of that user, the bot api is rate limited, and 50k users will either trigger that rate limit or will require some time.

How to design a User Account and User's social account database for an application

I have an application where a user is able to sign up by providing email, username and password.
This would be stored in mongoDB collection Users_Table. Now also the app allows users to sign with their social media account, if the user has one such facebook, google account and twitter.
Question is how do i go about designing the database?
My initial idea is to have 2 separate collections. The first collection has user information if he or she registers with the app.
User_Table (
Id,
firstname,
lastname,
email,
phone_number)
The second collection stores the social media account such as facebook, google, or twitter if the user has one.
I will retrieve users firstname, lastname, email and phone_number from their social media account and store it in the collection. This will be stored in the second collection.
Now if a user who has signed in with facebook decides to register with the app, how do i merge both accounts i.e. if its the same user how do i link them?
hmm, what was the business decision behind using mongo?
Why I'm asking? As someone decided to switch to mongo - it will be perfect to use advantages provided with it.
So my advice will be embed those details in one collection:
user:{
/* base fields */
_id, firstName, lastName, nickName, userName, email.... etc
socialAccount:[
{
type:"facebook/twiter/whtsEver"
name, /*and all other stuff you need here*/
}]
}
Then what app need is to make ONE call to mongo and get ALL data at once. No joins required.
Well, this is an old question but I will leave a hint just in case someone else gets the same doubts. I struggled with the same problem a long time ago and this article helped me a lot. But let’s summarize:
First, you need a table to store all the user info (name, surname, email, phone...) then you need another table to store all the info related to Thirds Party sign in /sign up integration (provider_id, user_id, bla bla...). Then you need to figure it out a way to merge the accounts created via email + password with the ones created with other providers, for that we always think in comparing fields like email, phone or names but that’s not an option (because obviously people could use different emails for their social media, they could have hide their email like Apple allows, the name is not the same, etc.. there is thousands ways how this could go wrong), so basically this is NOT an option you don’t do that. So the better approach (not an actual solution unfortunately) to do this is to ask the user to link their accounts (in their profile for example logged with his/her username + password) you just ask the user to login to their social media account and then you just "connect" your two tables in your database because now your are "almost" sure is the correct user (this is what some video games does and then give regards to the users etc..) Notice this "connect" means that you need to check if that third party account previously registered to your system and then you link it and if it’s the first time then you just also link it and then the user can use it to access his account in your system the next time they login. There is also an automatic way to do this, you actually do the previus comparation (the one I mentioned before that you shouldn’t do it and compare some field and found some "potential matches of possible the same account or duplications") but then you ask the user if it’s really his/her account and ask him/her to login into that third party provider with his her credentials (same approach but now you are suggesting the matches) and then you do the same "connect" process. Well more or less that’s approach but it’s waaaay better explained in the article by Peter Nijssen (mate where ever you are thanks 🙏 !)
Well I hope this help someone! Best regards!

Can I use Facebook's Groups For Schools to verify if someone is a student or not?

Can I use the Facebook API to get which users belong to Facebook's groups for schools product? And is this a reliable way of verifying if someone is a student or not?
Is this a reliable way of verifying if someone is a student or not?
No.
I present you with a simple counter-example. Facebook's Groups for Schools uses .edu email addresses for validation. I've not been a student for about twenty years. I still have an active .edu account. Silly university!
Additionally, many educational institutions (US secondary and pre-secondary schools, I'm thinking of) don't offer email addresses.
Now, if you're looking for a rough measure, it may be good enough.

Facebook API, Graph, FQL,... and email search

I am working on a project related to both school and work where I would like to combine data from a college entrance application (which includes email address) and Facebook data, even a minimum amount of data, such as number of "friends" or any other public info they've put out there. Am I correct that you can't really programmatically search Facebook by email address? Feel free to make any suggestions.
Thanks
You can search Facebook by email address, you just can't reliably search Facebook by email address.
For instance, you can make this query with a user access token:
https://graph.facebook.com/search?type=user&q=USER#EMAIL.NET&access_token=TOKEN
I've tried this with a few people I know who are on Facebook, where I know their email address, but I am not friends with them. (Mostly my wife's friends).
In my testing, only about 20% of these queries return a Facebook user_id. I'm not sure if they don't have the email I know linked to their user account or if they have their privacy set to restrict their email address.
Once you have their user_id, you can access all their public information at
https://graph.facebook.com/USER_ID
You don't need an access token to get this information.