how to edit facebook events using graph api? - iphone

I am developing in which i am getting my events and my friends events using facebook graph api, now i need to perform following function.
Change event's location name.
Change event's location latitude and longitude.
Get event's Admin.
I have searched a lot but i couldn't get healthy response and solution, so please any body help me to get rid of this problem. Thanks in advance.

Looking at the Graph API https://developers.facebook.com/docs/reference/api/event/
You can change the name of the event location using the 'Location' field. Also the event owner can be retrieved with the 'Owner' field.
To change the long/lat you will need to edit the 'venue' field. Which according to to API docs is an 'object containing one or move of the following fields: street, city, state, zip, country, latitude, and longitude fields'

Related

How to add `custom_keys` for a particular zoom meeting?

So I am using below API to fetch details of a meeting
https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#tag/Dashboards/operation/dashboardMeetingDetail
In the response of above API I can see a field custom_keys, which is some sort of identifier fo a particular meeting.
Any idea how to set these custom_keys when creating a meeting?

API for Instagram, Facebook, and Twitter

I am looking to build a simple application that could search for specific # in a specific GEO location.
For example:
{#cupcakes #sweets ---- in Dallas TX}
So when a user types in the hashtags only result they will see will be results within 100 miles of desired location. Are there parameters like that within APIs for Instagram, Facebook, and Twitter? Thank you.
Check out the twitter search api:
Geolocalization: the search operator “near” isn’t available in the API, but there is a more precise way to restrict your query by a given location using the geocode parameter specified with the template “latitude,longitude,radius”, for example, “37.781157,-122.398720,1mi”. When conducting geo searches, the search API will first attempt to find Tweets which have lat/long within the queried geocode, and in case of not having success, it will attempt to find Tweets created by users whose profile location can be reverse geocoded into a lat/long within the queried geocode, meaning that is possible to receive Tweets which do not include lat/long information.

User specific tracks search using soundcloud api

Is there a way to make user specific track search using the soundcloud api? This is a sample api call url that returns various track results from other all of soundcloud, which is not the desired result.
https://api.soundcloud.com/users/CLIENT_USER_NAME/tracks?q=SEARCH_TERM&client_id=CLIENT_ID
You can use SC.get to return all of a particular user's tracks, e.g.
SC.get('/users/id/tracks', function(tracks){
// Do stuff
});
http://developers.soundcloud.com/docs/api/reference#users
To get the user id, you can use resolve:
http://developers.soundcloud.com/docs/api/reference#resolve
No you cannot search a specific user's tracks. The documentation is wrong in this case.

Geo Location aware Posts

I am trying to publish a post on the user news feed with the users current location.
According to the documentation on 'Post' I need to add the location information to the 'place' attribute.
But is seems it is associated with an already defined 'place'. My requirement is to just push the lat / long info to dsiplay the city. Is this possible with the current graph API ?
Currently there is no public API to push a new place info, you can only pass existing "places".
You could begin by finding the name of the current city and country by inspecting some nearby places:
/search?type=place&center=LAT,LONG
Then you can try to find the Place ID of that city:
/search?type=place&center=LAT,LONG&q=CITY, COUNTRY&limit=1
(You may have to add the state field for countries that use that division.)
Now you have a Place ID to use for your post.

Missing Cities from Facebook all_cities_final.csv

I'm making Facebook App and I need to match the city from the user on Facebook with the city in my local database.
I've found the list of Cities from this link:
http://developers.facebook.com/attachme … _final.csv
But it seems that this is not the whole list, because there is no city from Macedonia in the list, but they do came up from auto complete when you try to write the city in your Hometown.
Am I missing something here, or is there some other list of Cities that I can find?
Also I've downloaded autocomplete_data.php from
http://developers.facebook.com/docs/reference/rest/ads.getAutoCompleteData/
and it doesn't have all cities.
Thank you.
So I just have the same issue and figured the cities are now places in the graph
https://graph.facebook.com/114897945188014
SELECT name,description,geometry,latitude,longitude,checkin_count,display_subtext FROM place WHERE page_id=114897945188014