Get mobile number from facebook api - facebook-graph-api

I have added the extended property sms to my required permissions.
In my case im using the .net facebook sdk but I dont think it matters.
I don't know where to find the users phone number
var fb = new FacebookWebClient();
dynamic me = fb.Get("me");
I have had a look within "me" however there is nothing there for me to get the mobile number.
Can someone point me in the right direction where I can find the users mobile number?
Thank you

Facebook has retracted these features of the API due to privacy concerns.
Source: Here

Related

Migrating existing Login flow using Instagram Legacy API to the new Instagram Basic graph API

Our application (kind-of got legacy) has been using IG API to authorize users (by using the uid attribute returned from IG's callback API response) and we have left email as an optional param (safe to assume that there are many users in the application database without email IDs persisted)
With new Instagram Basic Display API (advised), it's mentioned to use Facebook Login for authentication purpose. But I am facing a major problem of identifying existing users now (since the uid will be different).
Also I have a doubt on what will have happen for users having instagram account without linking their Facebook account to it?
I could not find a proper explanation or a documentation for seamless migration for my situation.
Please help with sharing the right resource or guidance to achieve the same.

Tinder-like instagram integration feature

I need some help with my app, I need to make a Tinder-like instagram integration feature, my app has a search engine like google maps but is created to find Senior Care Homes so a user has a profile and has his facilities associated, so I need that the user associate an instagram account for each facility he has in his profile, but i don't know how to handle this because every token that comes in the facebook login response expires in 60 days, so if I store that token in DB to every time another user visits a facility detail it will request FB API trying to get instagram photos but what if token has expired?, so if someone can help me with this I would really appreciate. Thanks.
I haven't tried anything because i don't really know what is the best way to do this.

Obtaining the location of places on facebook and integrating it into window phone app

I am trying to obtain information of a users current location I already have the users latitude and longitude what I want to know is are there any businesses (restaurants, clothing stores ect.) in that area. I was just looking at the open graph api and It says that you can search over all public objects in the social graph with https://graph.facebook.com/search. We support searchs for the following types of objects: places https://graph.facebook.com/search?q=coffee&type=place but the ones I really want to use type=location&center=37.76,-122.427&distance=1000 does not work in the API Explorer could anyone tell me what might be the problem and how do I use this in a windows phone 7 app? Links, code snippets, blog post, ebooks, Other web services that would allow me I could send lat and long and will return the location or businesses anything will be very helpfull thanks
https://graph.facebook.com/search?q=coffee&type=place&center=37.76,-122.427&distance=1000
This query should give you the results you need.

can't display mobile dialog authentication on Nokia N70

Using of mobile dialog authentication is working well for other mobile devices except on this Nokia N70.
1) I call to graph api
https://graph.facebook.com/oauth/authorize?type=user_agent&display=wap&client_id=xxxx&redirect_uri=xxxx&scope=user_photos,read_stream
2) which make for mobile devices to display the below uri
https://m.facebook.com/dialog/permissions.request?_path=permissions.request&app_id=xxx&redirect_uri=xxxx&display=wap&type=user_agent&xxx
But, it can't display the 2) step dialog and automatically redirected to my redirect_uri which gave me errors of 404. Actually it show display authentication dialog box and should get grant from User.
What exactly might be the issue?
While I can't find specific information on why it wouldn't work I would most likely suspect that because the N70 is a 6 year old phone and uses WAP 2.0, which Facebook actually hardly supports anymore as stated in numerous places. (e.g. Facebook Feed Dialog Mobile Url: Issue with display=wap
All modern handsets support full HTML these days. So WAP is mostly dead besides people who haven't updated their handsets in the last 3-4 years.
My suggestion is, why are you hoping to support WAP and is it really needed?
UPDATE [2012-07-07]: Facebook is now removing display=wap, hence making it completely dead in Facebook's world.

User Account Creation and Facebook Connect

I'm wanting to expand on my user account creation and perhaps implement Facebook Connect... however, I'm not quite understanding just how far Facebook Connect goes. I mean, when singing into Facebook, there's no way that you're allowed to then take the information from a Facebook account and store it into your own database, right?
What is the suggested workflow when incorporating Facebook with your account creation and login?
How far does it go? Well fact, yes, once you get explicit authorisation (permission) for certain objects from the FB user then you can do with them what you wish - becuase the user has trusted you with their info. If you abuse that info then FB will get complaints and will take action against your application, which must be registered with them.
I recommend the offical FB Javascript SDK - it can do everything you'd expect and has some great examples. It will also be kept up to date by Facebook (their developer tools change weekly - see blog here) which may not be the case with CF APIs ported to other languages.
Hope that helps!
I don't really understand the subject of your request. If you are interested in Facebook integration with ColdFusion, you should take a look at the excellent facebook sdk here: http://facebooksdk.riaforge.org/
(note: 9.0.1 compatibility)