Facebook graph api search people [duplicate] - facebook

This question already has answers here:
Search for pages via Graph API, response empty
(2 answers)
Closed 4 years ago.
I was using facebook graph api people search with;
https://graph.facebook.com/search?type=user&q=name&limit=20&fields=id,picture,name&access_token=access_token_id
It was working last month. When i checked today it is giving empty data;
{
"data": [
]
}
Api versin is 2.6 any suggestions or knowledge?

https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#search-4-4
It is no longer possible to search for users, no matter which API version.

Related

Facebook graph api not returning all public fields [duplicate]

This question already has answers here:
Facebook JS SDK's FB.api('/me') method doesn't return the fields I expect in Graph API v2.4+
(4 answers)
Closed 5 years ago.
I used to call facebook page node with feed and posts edges and it return all the fields including comments ect.., but now I don't know what happen, it just return 3 fields (message, created_time and id), I'v tested it with the API explorer, postman and my app (an R package), did Facebook change something ? even in the search API it used to return the category of the page when I search for pages, but it dosent anymore..
https://developers.facebook.com/docs/graph-api/using-graph-api#reading
Check out the section "Choosing Fields", you have to ask for fields you want to get, else you will only get some default ones.

Using facebook pics as default pics for one's own website? [duplicate]

This question already has answers here:
Get user profile picture by Id
(16 answers)
Closed 5 years ago.
Apparently this question has already been answered.
Click the following link to follow through.
Get user profile picture by Id
Get the Facebook profile pictures using this link.
http://graph.facebook.com/" + facebookId + "/picture?type=square
For instance:
http://graph.facebook.com/67563683055/picture?type=square
There are also more sizes besides "square". See the docs.
*This answer was taken from here.

I would like I search for Facebook public posts with Keyword. how? [duplicate]

This question already has answers here:
Facebook search by keyword
(2 answers)
Closed 7 years ago.
Please help me
I would like I search for public posts with Keyword " Crafts " in facebook
(i.e., from users , photos , videos ). Any ideas ?? Do you know any site ? , program ?for public posts with Keyword in facebook. facebook graph ?
But unfortunately April 30th 2015 Facebook deprecated the Search API for public posts by keywords, which provided poor results and was unstable.
Thank you for your time
Short Answer: You canĀ“t.
As you found out already:
Public Post search is no longer available.
Source: https://developers.facebook.com/docs/apps/changelog#v2_0
There is only the Public Feed API, but you cannot apply at the moment: https://developers.facebook.com/docs/public_feed
This is the only possibility to search for something, and it does not include posts: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.4#search

Facebook Like - Can we transfer them to other URL's? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I move a URL via 301 redirect and retain the page's Facebook likes and Open Graph information?
For example suppose I had 1000 Likes on this URL:
example.com/coolpage.php
But I wanted to rename the URL to:
example.com/domscoolpage.php
Can I transfer the Likes from the 1st to the 2nd in the same way you can transfer PageRank via 301s?
Cheers smile
No you cannot, you will have to start from scratch. You could 301 from the original liked URL to the new one though

How to construct a Facebook post URL from the post id? [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
How to construct a permalink for objects returned by Facebook's new Graph API?
The Facebook open graph API allows a public search, e.g.
https://graph.facebook.com/search?q=watermelon
The results returned may be statuses, videos, links, photos (and others?).
Each has a post id, e.g.
100000973592583_149321401769498
I wish to construct a URL to the post. For statuses, this seems to work:
http://www.facebook.com/profile.php?id=100000973592583&v=wall&story_fbid=149321401769498
However, for a link (or video or photo), that often works, but sometimes does not. For example, a link with id
45430244790_127287890653212
needed
http://www.facebook.com/posted.php?id=45430244790&share_id=127287890653212&comments=1#s127287890653212
Does someone have experience creating bulletproof links? Are there any docs on it?
Edit: Suppose I know the type as well (video, post, photo, link, ..)
Following FQL:
SELECT permalink
FROM stream
WHERE post_id="45430244790_127287890653212"
would return:
[
{
"permalink": "http://www.facebook.com/posted.php?id=45430244790&share_id=127287890653212&comments=1#s127287890653212"
}
]