Can you obtain friends' postcodes via the facebook api? - facebook

Does the facebook api expose friends postcodes? Ie is it possible to make a call to the api and have it return a list of postcodes of your friends which have address information listed under the "friends only" privacy setting?

In short no. Very few people have their addresses on Facebook and the graph API does not expose those fields anyway, just like it does not expose mobile phone numbers.

I recently came up with a workaround for an application of my own. Through Facebook permissions, pull the users location (City, State) out of his/her basic information. With that, you can make an HTTP request to the Google Geocoding API. Make sure to pass the users City and State, and in return, the API will spit out a JSON encoded response containing a handful of useful data -- including the postal code that you're looking for.
See:
http://code.google.com/apis/maps/documentation/geocoding/#GeocodingRequests

Related

Instagram Graph API getting users geolocation without login and access token

I know that you want to suggest me private api or any scraper. I used them but they don`t return accounts geolocation. In my application I want to get instagram accounts geolocation, likes, comments, followers and follows in order to get engagement of account.
If you say it is not possible look TrendHero website it returns all information about users, followers rank, country information and other handy information which you can find in your insights (in instagram account) without users permissions.
My first impression, without caring to dive deep into the company you linked, is they are simply using scrapers. That's typically how those big contact databases are done.
The Instagram APIs simply don't provide the access they used to. That's how it is. Simply asserting there must be a way doesn't mean there actually is.
#WizKid Instagram can't actually prevent scraping. They just make a little fuss about it.

Which Instagram API should I use to collect public data?

Does either the Instagram Basic Display API or the Instagram Graph API allow me to simply get any public user's posts/media programatically? Everywhere in the documentation it says "User data" but it feels like I can only get data of the user that got authenticated using the API. I've set up a Facebook dev account and currently spending 4th hour on calling both APIs without success. Can anyone who has used them help me clear this up?
Most likely, Instagram API Date 365, a tool I currently work for, may help you as an alternative to using Instagram Basic Display API or the Instagram Graph API because this API is created especially for scraping bulk data about posts and users.
You can get such post data as post content (text, language, list of hashtags, list of tagged users), owner ID, location ID,
engagement info, etc. Also, it is possible to download comments (selected or on a specific post) and replies to them.
You can view this for more info.

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/

Foursquare: Venue count of users being at the same venue for iOS

I’m trying to use Foursquare online API, which I need to retrieve the property of the count of users are at the current venue.
However, Foursquare’s documentation related to Venue here draws a confusions for me.
First, is it possible that when I do a HTTP request, I do the request with userless authentication, i.e. parsing the parameters with just the app's client_id and `client_secret?
Any quick explanation, (greater appreciation for those who even provide some code examples) regarding this confusion will be appreciated so much!
The herenow endpoint requires an acting user. See the Foursquare guide on authentication for more detail about how to get an authentication token to make an API request as an acting user.
Access tokens allow apps to make requests to Foursquare on the behalf
of a user. Each access token is unique to the user and consumer key.

Facebook Graph api users search

I'm using Facebook graph Api to search users and data that i get is kinda different from that i get from Facebook UI. For example search response of User interface is friends, mutual friends and other related data in first. How can i query to get related data for current user ( i.e friends and mutual friends in first place).
Here is query that i'm using to search users.
https://graph.facebook.com/v2.5/search?fields=id,name,picture.type(normal)&limit=50&q={q}&type=user&access_token={token}
and data that i get is kinda different from that i get from Facebook UI
That’s because those are two completely different things.
The search functionality offered via the UI is called Graph Search. But the powerful possibilities that offers are not exposed via API. (To protect user privacy, and keep apps from doing extended user profiling via that data.)
Searching via API is limited to what is listed here: https://developers.facebook.com/docs/graph-api/using-graph-api/#search
That’s not much – but it’s all you get.