Facebook API collect pages in certain country - facebook

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

Related

How to get the list of events of specific facebook page

i am trying to get the list of all event that the specific page has on the Facebook, but i couldn't find this in their Graph API. there are several forums and stack posts but they couldn't help me. is there any other way or specific API for getting this information ?
thanks
https://developers.facebook.com/docs/graph-api/reference/event/
Access to Events on Users and Pages is only available to Facebook Marketing Partners.

Searching through facebook posts based on keywords Facebook API

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

Can I access Facebook Ad Billing data through an API?

/business.facebook.com/ads/manager/billing/transactions/
Thats the url id like to pull data from. I looked at all the API's, but none of them seem to offer up this data.
Try this: https://graph.facebook.com/v2.9/{business_id}/business_invoices
YES YOU CAN USIG FACEBOOK MARKETING API Marketing APIs are a collection of Graph API endpoints that can be used to help you advertise on Facebook. To get started with advertising on Facebook, we recommend you learn about Facebook's Ad Campaign Structure, to understand the objects you're working with and how they relate to each other.
CHECK THIS OUT
https://developers.facebook.com/docs/marketing-apis/

Personal results while using Facebook Graph API search

I'm developing an app in which the user needs to search and select a person from Facebook. I'm able to search in the Facebook Graph API using "https://graph.facebook.com/search", however this only give very general results and not the 'close' people Facebook would normally suggest when searching in the search field on Facebook.com. In this case it is impossible to find someone with a regular name.
Does anybody know how I can personalize my query or go around this problem?
The Graph API search is not the same nor directly comparable to the search in the Facebook website.
See
https://developers.facebook.com/docs/graph-api/using-graph-api/v2.3#search

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/