How to make a good invite from contacts feature - facebook

I'm designing a mobile application which communicates with an API and I was wondering something.
My app is kind of a social network on which you can have friends and stuff like this. I wanted to add a feature to access phone contacts and see who is not subscribed on the app to invite him, and also ask to access to Facebook's friend list of the user and do the same thing.
I also want to check if a person in your phone's contacts is registered in the application to send him a friend request.
But the way i see it seems pretty heavy, i mean sending your whole phone contact list through the internet so the API can check every phone number and email adress to see if it's already in the database... And maybe unsafe too ?
How can i achieve such a system ?

Related

How to address users in facebook analytics server-to-server

Hi here's my problem:
I would like to send events to Facebook Analitycs asynchronously from my server. And my users are on iOs.
My problem is that I need to somehow identify my event server to the specific user. What I’ve seen so far are those solutions:
Use advertiser_id: IDFA for iOs, it's not GDPR compliant, so I can’t store it for async server event
Use attribution/Mobile_cookie: I don't know how retrieve a attribution number or mobile cookie from an iOS device? And I'm not sure if it is GDPR compliant to store it?
Populate and use app_user_id: Would it be enough to track user from the server without advertiser_id or attribution?
To rephrase it:
For asynchronous event send from the server (not the mobile device), how can we identify the user properly on facebook analytics?
With attribution/Mobile_cookie that we previously saved in database?
Or is app_user_id is enough to identify and recouple event on facebook analytics?
If you have link or information on how to do that it will help us a lot.

How effective and secure is sending user information to facebook in pixel?

I want to re-target my users based on their purchase on my website. For example, if someone purchases kids wear from my website, I want to re target that user, when I launch some offer in kids wear range.
I read this article. This looks really effective as I can send my customers mobile/email and purchase category i.e. kids-wear to Facebook. Later, I can re-target these easily these users on Facebook if I have some offer in kids wear.
But I am worried about few things:
Is it correct to share my customer mobile/email with facebook. Any legal consequences of this?
Should I send both email/mobile? What if the user uses same mobile but different email for facebook OR vice-versa?
If anyone can share any case study of using mobile/email in campaigns, it would be really great.

How to let one user send a request to another user only if they both have the app?

I want to have one user send a request to play the app with another user but only if the other user also has the app. I have seen this done in snapchat it lets you add (or friend) people who also have snapchat. I figure the user has to grant permission for the app to access contacts but after that I am pretty lost. Does anyone have any links that discuss this?
Thanks
Many apps ask for an email to log in or they ask for a mobile number and then find friends using the contact book with that data.
You request access to their contacts and upload them to your server. Make sure you are clear about what is happening. Path did this without clear disclosure and people got worried.
There is no way to programmatically grab an iPhone's phone number so you have to ask for it.
TLDR:
Ask for email or mobile number
Ask for permission to contacts
Match those on your server and return results.
You could also theoretically use Facebook, but I don't have any experience with that API.

SMS notification when selected friends are online

I have an idea to develop a Facebook app which notifies the user through SMS when his/her friends come online. The user can pre-select the friends he/she wanted to get SMS notifications of.
This is my first attempt at developing for Facebook so I have zero experience and knowledge about the platform. I just want to know if my idea for such an app is possible? Does Facebook have an API for SMSes? Or do they let 3rd party messaging APIs (such as this one I came across) to work with them.
Thank you.
A Facebook app is actually ran off of your server and you can do anything that you want as long as you stay inside the limits of what you requested as far as information the app needs. As far and getting the information it is relatively easy. I made a extremely complicated app in 3 days. Once you read and get how to pull certain information, the rest is cake walk

How to share from iphone app to any windows phone 7 app?

Let's say I have app on iPhone and Windows Phone 7. How to share (ex. Note) between my both apps, regardless any platform.
Update
Guess this question is very broad, my bad.
Be more specific, I want the user to go through his contact list and share through my app. How do I identify if the other user installed my app? and what platform he/she using?
Using the contact list isn't a good way to "share" in this regard.
You're asking two questions here:
How to build a system to share data between two mobile clients, irrespective of platform?
How to best enable users to find their friends to share data?
Let's start with the 2nd question.
I would leverage services like Twitter and Facebook and have your app connect with your users facebook account. This is a well known approach, and avoids having to roll your own account system.
With facebook as an example:
Facebook connect, you can get the facebookID of your user, as well as their friends facebookID. You'll need a backend webservice which you can query users by fbID.
When a user opts to use their facebook account, store their FacebookID on your backend service. Then using facebook's api's get a list of their friends facebookID's. Your app will lookup each ID using your backend service, and if it finds one, then you know that friend has also installed the app, and connected it to facebook.
So if Alice installed your app, connects to facebook, and she is friends with Bob, who also has installed your app, your back end service would return that Bob's facebookID is known to your app, and thus the two of them can share to each other using some protocol that you design.
If their friend's ID isn't known to your system, I would send them a facebook message, or post on thier wall with a restful link that invites them to check out the note you want to share on the web, and place the link to the app on the same page.
Due to the high level of your question, this answer is a bit of a 20,000ft view, and assumes you know how to build a web service.
If you want to see a great example of an app that makes use Facebook and or Twitter to find friends who also use the same app, I recommend checking out Groupme. It's free, and available for WP7, iPhone, and Android. It's a group SMS app, and uses your contact list, facebook, and twitter, to setup friends.
For the first question, you'll need to make use of a backend webservice. User would elect to share either in-app, or by posting to their facebook, with a weblink. In-app sharing, I would use an inbox approach. A user posts a message to their friend, and it gets stored in a queue. The app periodically checks the users queue to see if any new "shares" have been posted. If so, get that data, and present it to the user. Your back end service should also take advantage of newer app concepts like push notifications, because thats what users expect.
I would suggest using a web service such as Parse. This will allow you to focus on your app development and not worry about server coding.
Currently they do not have a Windows Phone 7 SDK but it is just a matter of making the REST requests manually to the service.