Get users twitter id? - facebook

Can anyone tell me if there are any fields in the FB Graph that list a users twitter ID if they've linked it to Facebook.

No, there's no place in a Facebook profile to provide that information, and no way to retrieve it either - you'd have to get your user to log in to both Facebook and Twitter using their respective APIs

Related

Facebook Graph Api: get all ursers tagged in a photo

I'm struggling with Facebook Graph APIs: I'm trying to get all the people tagged in a photo but I only get myself as user tagged (also if there are more users tagged in the photo).
Is there any way to get all people tagged in a photo by Graph API?
Thanks
Stefano
No, there is no way - only users who authorized your App too would show up. If a user did not authorize your App, he will not show up anywhere in any API call, for privacy reasons.

Facebook Graph API: Retrieving User Friend's Info

given an app using facebook graph API and a logged in user, is it possible to retrieve programmatically likes/movies/music of a friend of the logged in user?
I'm trying to achieve that with the graph explorer but I'm getting empty data.
Thanks in advance.
No, all friend permissions have been removed. You are only supposed to get data of users who authorized your App.
https://developers.facebook.com/docs/apps/changelog

Is there API to get someone's facebook profile with out login to facebook?

I was wondering if its possible to get one's facebook profile (to be exact,'profile url') through their API?
I need an api to get fb profile link using a matching email address. I dont want to login to facebook though.I was trying to search for this but it seems you need to log in to facebook to get that.
Any idea or is it feasible?
You need ID of the concerned user which can't be achieved without using the Facebook Login, since Facebook login is the starting point to get the current user info (/me).
Search API could have helped you since you have the email ids of users, but unfortunately this api doesn't support user search with email!
So, answer is simple- NO, you cannot get the ID (profile link) of the user without using the facebook login.
Not that I can think of. Facebook's Graph API gives you some public info but that info given depends on the users Facebook's settings on what is public or not. You could maybe get some users profile picture but not others, making it not a very viable option for practical use. Hope that helps

Restrict facebook app from accessing user's friends list

I am using facebook to login to my website. The website does not need any information about the facebook user's friends' list. I am interested only in the user's general information.
https://developers.facebook.com/docs/reference/login/public-profile-and-friend-list/ shows the friend list also as the minimum information shared by Facebook.
Hence wanted to check if there is any way to restrict the user friend list information from being passed on from facebook to my application?
No, when a user authorize an application the minimum data shared is it's basic information and friend list.
Unfortunately you cannot change this.
Official documentation:
When someone connects with an app using Facebook Login, the app can
access their public profile and friend list, the pieces of information
that are visible to everyone. Each other piece of information that
someone adds to their Facebook profile is secured behind permissions.
Source: Facebook

Retrieve total number of friends a registered user to a facebook app

i have a facebook app, in wich the administrator of the app needs a report of the users registered to this app and one of the data i need is to get how many friends does a user registered to my app has, i was trying with fql using a query like this
$facebook->api_client->fql_query("select uid2 from friend where uid1=$userId");
but is not working, is there any other way to achieve this?
I remember the facebook API Documentation to be rather sparse with this sort of thing, but maybe you want to look into the facebook Graph API. From there, you can get registered users of your application.
Facebook 'Friends.getAppUsers' using Graph API
http://developers.facebook.com/docs/api
==EDIT==
Facebook Graph API pattern:
https://graph.facebook.com/ID/CONNECTION_TYPE
If you want all the friend data from any user, you can use
https://graph.facebook.com/USER_ID/friends