Is it possible to retrieve list of public facebook profiles through the Graph API? - facebook

Is it possible to search for public facebook profiles in another app using graph API? So far what I've seen in documentation is that you need to know the User ID. I was thinking more in the lines of :
1) Enter Name
2) Get list of relevant profiles associated with that name

You could use the /search endpoint of the Graph API (https://developers.facebook.com/docs/graph-api/using-graph-api/v2.0#search)
GET /search?q=barack%20obama&type=user

Related

find public open share facebook groups using fb api

hi all i want to get facebook groups using graph facebook api but i want to filter only open share public groups (means posts don't need admin approval) i looked at https://developers.facebook.com/docs/groups-api/ and tried to read the whole docs but found nothing.
i don't need a specific langiage i just need to know if there is an endpoint which can do this in facebook graph api or any other solution
graph facebook endpoint to get this kind of groups

Facebook graph api search in page conversations by user name

I am using facebook graph api with this edge
me/conversations?fields=participants
Graph API Explorer
this get list of conversation for my page using page access token. Now i need to search in this list by user name
Any suggestion to do that directly with API or any workaround ?
As a workaround you can call with the limit parameter set:
me/conversations?fields=participants&limit=500
It will show you 500 latest threads. Then cmd+f (ctrl+f) and type the name you are looking for.

Is it possible to get Public Data from Facebook Users via Graph API without having users permission?

There are a lot of question about similar topic, but none of them is actual and gives an answer.
I try to get public data from random facebook user via the facebook graph api.
First of all here is the documentation about getting user informations, and the endpoint looks like this:
GET /v2.9/{user-id} HTTP/1.1
Now I try this in the facebook graph explorer. But now I need the {user-id}
-Where or how do I get this user-id when I have the url to the users profile?
Lets say the user-id is given - to get the user-id I used findmyfbid.com
But the only response I get is the public name of the user and not more.
-So is it possible to get public user profile data, withouth having the users permission for your app? And if not, where is this written in the documentation?

Retrieve specifc hashtags from Facebook using Graph API

I want to get the JSON result of all the shared posts or statuses with the hashtag of my company name #company_name. How can I proceed with this. Currently I have tried with Facebook Graph Explorer Tool using the built-in access token, but this doesn't seem to give the data.
As user WizKid (Software Engineer at Facebook) states in the comments, there is no API for hash tags.
You can search through public posts using Post search in API v1.0 but this is not possible in v2.0.

How can I obtain a list of domains for a page/user/app using the Graph API?

I'm trying to use Facebook's Graph API to grab a user's insights data, and display it in an admin panel for them, as a part of their custom CMS.
There are a few steps to my Facebook integration:
1. Authenticate
2. Get a list of pages, applications, and domains for the user
3. Get insights data for each page, application and domain
All of the above are working, but I can't find a way to list all the domains a user has. I'm using https://graph.facebook.com/me/accounts to get the list of accounts for the user. This is returning all the Pages and Applications, but no Domains.
I have looked all over Facebook's docs, and can't find any reference to a method for retrieving a list.
I have tried https://graph.facebook.com/domains, https://graph.facebook.com/me/domains, https://graph.facebook.com/domain, and https://graph.facebook.com/me/domain - to no avail. https://graph.facebook.com/domain and https://graph.facebook.com/domains are valid, but are only useful if you know the domain.
So, the question: Is there a way to obtain a list of domains for a user using the Graph API?
Thanks
try this Graph API call: https://graph.facebook.com/fql?q=SELECT domain_name, domain_id FROM domain WHERE domain_id in ( SELECT domain_id FROM domain_admin WHERE owner_id=me())&access_token=VALIDUSERACCESSTOKENOFTHEOWNEROFTHEDOMAIN