Any idea how to get geo location on video from facebook? We need to find the exact location to evacuate people.
Related
With the help of graph API getting Public Facebook feed but it's doesn't show location and place detail, Need to display only those feed which is near by user current location.
For Eg, If user is in Atlanta, USA than the user should get only those feed which are in Atlanta, USA.
We also tried with "https://graph.facebook.com/facebook/feed?&location=33.7677129,-84.420604" it's doesn't effect the response.
someone please guide me.
That's not possible. There is not functionality to filter a page/user feed by location. You should have a look at the docs.
Furthermore sending requests to /facebook/feed is only returning you the posts from the Facebook Page.
See
https://developers.facebook.com/docs/graph-api/reference/v2.4/page/feed#read
I am trying to build an app and my requirement is to get ratings given to all the movies of a user.
I was able to find this tutorial which describes how to get likes but not ratings.
https://developers.facebook.com/blog/post/2011/03/18/how-to--use-the-graph-api-to-pull-the-movies-friends-like/
Furthermore, I was able to find out this documentation
https://developers.facebook.com/docs/reference/opengraph/action-type/video.rates/
But I am not sure if it can be done for user's friends and how to do it.
Can someone help me out ?
You could try below path,
me/friends?fields=video.rates
Is there are way to fetch location/coordinate specific public posts using the facebook search api (https://graph.facebook.com/search/?q=KEYWORD&type=post ...)? I want this to be a general search query, without any user authorization.
I tried using https://graph.facebook.com/search?type=location¢er=37.76,-122.427&distance=1000&access_token=... , but this requires access_token and returns objects(not posts) posted only by friends of the user whose access token is used for querying.
I also tried https://graph.facebook.com/search?q=samsung&type=post¢er=12.9833,77.5833&distance=1000&access_token=[I-USED-ANY-ACCESS-TOKEN], but I dont think this is giving me the location specific results as I am not receiving any loc info in the json response.
Are there any free data sources/APIs that can provide me location/coordinate/ip specific posts/data/tweets/feeds, etc from the web / social networking websites?
It is possible to walk the FB graph to get such places and their coordinates for types like event, place, checkin. For example:
Search (link):
https://developers.facebook.com/tools/explorer?method=GET&path=search%3Fq%3Dconference%26type%3Devent
Then pick one of the results and do (link):
https://developers.facebook.com/tools/explorer?method=GET&path=463944956965055
Then lookup the venue id's coordinates (link):
https://developers.facebook.com/tools/explorer?method=GET&path=199344279273
Check the FQL table definitions to verify that location coordinates are provided.
The accepted answer doesn't really answer the question.
The answer is no, there isn't a way to search for general posts by location (excluding your friends). It's probably to protect user privacy.
My app lets users checkin with lat, lon and place name to Facebook. But I don't know how to deal with "place" parameter.
Is there any way to get or create one?
Each checkinable place must have a valid Place Facebook Page.
The place parameter takes in the page_id of a Place Facebook Page.
For example, page_id 104999729569954 of Place Facebook Page http://www.facebook.com/pages/Nanyang-Polytechnic/104999729569954
If your application is letting your users to checkin based on their current location
1) Use an external map service such as Google Map's Geolocation to get the coordinates(lat & lon) of your user's current location.
The set of coordinates returned from Google Map is different from Facebook's own set of coordinates.
2) To overcome this, do a FQL query to find the closest match of Facebook's coordinates with Google Map's coordinates.
SELECT page_id,latitude,longitude FROM place WHERE distance(latitude, longitude, "LAT_HERE", "LON_HERE") < 250
250 refers to the radius(m) that it will search within, it can go up to 50000.
3) Now that you have page_id, latitude and longitude. Assign page_id into place parameter. Assign latitude and longitude into coordinates parameter. You will then be able to publish checkin.
You can refer to publish checkin examples that I have posted over here. Facebook - Publish Checkins using PHP SDK/JavaScript SDK
If your application is letting your users to checkin based on selection from a list of place names or gallery of images (in a game or something)
You will just need to find the page_id of each place and bind them to respective place name or image.
Documentation
Page FQL - http://developers.facebook.com/docs/reference/fql/page/
Checkins API - http://developers.facebook.com/docs/reference/api/user/#checkins
Maybe this is what you want.
Open graph explorer Just replace URL with any facebook page url
fql?q=SELECT id FROM object_url WHERE url="https://www.facebook.com/LegendCinema"
I want to use the flikr api.
in which i can pass current latitude -longitude and can get the photos and latitude and longitude of that photos.
Please help me..If flikr is providing any such url then..
And also please help me if anyone had any knowledge of other such kind of api
Thanks
There is a good example/tutorial in below link of Flicker API integration. Also you can get Flicker API here for Objective C.
http://iosdevelopertips.com/networking/iphone-json-flickr-tutorial-part-1.html