Searching through facebook posts based on keywords Facebook API - facebook

Can I go find a user's posts and comments based on a certain keyword?

No, there is no API for that.
What you can still search for via API, is pretty limited these days. https://developers.facebook.com/docs/graph-api/advanced/#searchtypes

Related

Reading user's posts to pages

For a given Facebook user, is there a possibility to read all posts that he's made to any pages? On FB web, these can be found in the activity log, but so far I couldn't find a method to get them via API.
Both /user/posts and /user/feeds only contain status and profile updates, not posts to pages. I know I can read /page/feed and use paging to find this user's posts for any page the user likes, but how about those he doesn't?
No, outside of FQL, there is nothing in the API that accomplishes this. I'd imagine this to be a pretty data intensive call with minimal use cases however, so I don't think this will be introduced anytime soon.

Facebook API collect pages in certain country

Using the facebook api, is it possible to have a query to get facebook pages in a certain country?
I have been searching on google on how to do it or any alternatives but no luck.
I am currently using C# to interact with facebook api.
Thanks in advance!
There's no endpoint to search for Pages in certain countries. Have a look at
https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#search

Search Facebook for posts with specific tags

Is it possible to search Facebook for posts with specific hash-tags using it's API?
I've spent some time trying to study the API documentation but failed to find any suitable solution. Maybe I'm missing something?
https://developers.facebook.com/docs/apps/changelog
Public Post search is no longer available. (/search?type=post&q=foobar)
Meaning, a hashtag search is not possible, at least not anymore.

Embed Facebook Stream Filtered By Hashtags

I want to embed a stream of facebook posts onto a web page that is comprised of posts all around facebook containing a specific hash tag, but I'm not quite sure how to go about it. I had to do the same with twitter and instagram, but those were all fairly easy to accomplish. I'm just kind of looking for the best option right now, not so much on specifics. I've seen a couple of times the graph api for facebook as an option, but every time I see those they seem to be from a year ago, so not sure if it's out of date or if there is a better option out by now. Any recommendations on ways to go about it would be greatly appreciated.
See my answer here on how you can use the Search API for hashtags:
Need help on employing Graph Search parameters for hashtag query on facebook
Basically, you can call
https://graph.facebook.com/search?q=%23selfie&type=post&access_token={user_access_token}
Be aware that you have to use v1.0 of the Graph API, because in v2.0 searching for public posts will no longer be possible (https://developers.facebook.com/docs/apps/upgrading#upgrading_v2_0_graph_api):
Public post search is no longer available.
(/search?type=post&q=foobar)
Graph API v1.0 will only be available until 30th of April, 2015.

list all facebook friend requests

Is there a way to list all friendship requests using the facebook graph API? I didn't find anything in the docs, but with the experience I've undergone concerning the quality of this doc so far, I wouldn't be surprised if there was a way to it.
I think it's not possible using only Graph API. You will need to use any SDK and then make a FQL query.
Here you go:
http://developers.facebook.com/docs/reference/fql/friend_request/