Get opening hours from GMSPlace in iOS - ios

Is there a way to get opening hours for a GMPlace in iOS SDK?
I could only find - (GMSPlacesOpenNowStatus) openNowStatus [read, assign]
which doesn't contain opening hours, and anyhow appears to be buggy and always return "unknown" (reference: https://code.google.com/p/gmaps-api-issues/issues/detail?id=8160).
Looking for an iOS was to find opening hours, rather than making a GET request from iOS to the web API with the retrieved placeID.

The Google Maps API only returns the following info: https://developers.google.com/maps/documentation/ios-sdk/reference/interface_g_m_s_place#properties
I checked the MapKit API and it doesn't return anything like that either.
Maybe try the Google search API? I know you get that info back in some cases when doing a google.com search.
https://developers.google.com/custom-search/docs/xml_results#overview

Related

Enabled Google Places ApiKey also Shows Can't load search results in iOS Swift

I have enabled Google Places Api from console which is same as my Google Maps ApiKey, and i have updated pod version from 2.7.0 to 3.0.3. and i have regenerated ApiKey also still i am not getting search results.
please help me to sort out this problem.
Places Api
SearchResult
NOTE: I tried all these solution but those are didn't works for me
Can't load search results Google Places ios Swift
Google Places AutoComplete on iOS - Can't Load Search Results - Try Again
The search result showes once in a 100 times after 1st search again its not showing any result.
i don't understand why its happening like this. am i miss anything.
please someone help me to sort out this problem.

Can't load search results Google Places ios Swift

I am using GooglePlaces for my app everything works perfectly but i don't know what happen suddenly i am getting error message "Can't load search results"
my API is already Enabled
NOTE: i had tried following solution but which is not works for me
Google Places AutoComplete on iOS - Can't Load Search Results - Try Again
Google Places iOS - Can't load search result
Someone Please Help!
My issue is solved as i regenerate my google API keys

GooglePlaceAPI error: -6 in iOS

after working with autocomplete UI Control https://developers.google.com/places/ios-api/ i got error in XCODE console when i am going to search in search bar that Google provide.
I have use Google Maps frameworks with use of pods.
Error :
error : -6
Set accountToAuthorizerBlock to be able to send authorized requests.
I'm an engineer on the Places API for iOS team. This is an internal log message that was printed by mistake. It shouldn't actually affect the functionality of your app and it's fine to ignore it.

Multi-destination route (google maps on iOS) return void json

I'm a newbie iOS programmer and I'm having problems using google's Api "directions" for (multipath/multiroute) on iOS (8.x):
when i ask to draw a route between two location (origin/destination) there aren't any problems but if i add even one more location, the request to web service return a json with no elements.
My url (for the request) is something like this:
https://maps.googleapis.com/maps/api/directions/json?origin=40.853900,14.246600&destination=45.120000,12.535900&waypoints=optimize:true%7C41.910000,12.535900&mode=driving&key=API_KEY
I have already enabled the API's (directions, static maps, google maps for iOS). The api key has been generated today and seems ok.
what am i doing wrong?
Your URL request works for me. I'm getting zero results because your destination coordinate is middle of the ocean.
Make sure your API key iOS key when testing on iOS device and browser key when testing on your browser.

Did Facebook recently disable accessing public page feeds via uri?

This worked in my iOS app just yesterday, it's worked for months. I wake up today and no bueno. I put this into the address bar of my web browser with the desired ID and now I'm getting "Sorry, this page isn't available." Anyone know what's up?
NSString *urlString = [NSString stringWithFormat:#"https://www.facebook.com/feeds/page.php?format=json&id=%#", pageId];
same here i think there is a lot of people if you can find work around do tell please
Update
The Pages JSON feed (e.g. https://www.facebook.com/feeds/page.php?id=%2019292868552&format=json) is now deprecated and will stop returning data from Jan 28, 2015 onwards. Developers should instead call the feed edge on the Graph API's Page object: /v2.2/{page_id}/feed.
Source
Though I can't find a way to access a feed without authentification ! Facebook is becoming more and more liberty killer and is withdrawing into himself !

Resources