<p>I was wondering if I could access the iPhones Core Location framework over a website?</p>

<p>My goal is to build a webapp/website that the iPhone would browse to, then upload its current GPS location. This would be a simple site primary for friends/family so we could locate each other. I can have them manually enter lng/lat but its not the easiest thing to find. If the iPhone could display or upload this automatically it would be great.</p>

<p>I don't own a Mac yet (waiting for the new Mac Book Pro) but would like something a little more automatic right now. Once I have the mac I could download the SDK and build a better version later. For now a webapp version would be great if possible. Thanks.</p>

[{'answer_id': 27172, 'author': 'Mike McMaster', 'author_id': 544, 'author_profile': 'https://Stackoverflow.com/users/544', 'pm_score': 1, 'selected': False, 'text': '<p>I\'m pretty sure you can\'t do what you want directly.</p>\n\n<p>The best idea I can come up with is to "reuse" an iPhone app that records location and makes it accessible on the web. Take Twitter for example. If I\'m not mistaken, Tapulous\' app Twinkle will grab your location and post it to your Twitter.com user profile. Here\'s an example of what that looks like:</p>\n\n<p><img src="https://i.stack.imgur.com/aeKMV.png" alt="iPhone location"></p>\n\n<p>From your webapp, you could then scrape the user page for each person whose location you\'re interested in. It\'s a pain in the butt, but like I said, this is the best I could come up with.</p>\n\n<p>Again, if you don\'t want to mess with Twitter, there may be other apps out there that do this as well, but I don\'t personally know of any. Good luck.</p>\n'}, {'answer_id': 27297, 'author': 'Ben Robbins', 'author_id': 1880, 'author_profile': 'https://Stackoverflow.com/users/1880', 'pm_score': 1, 'selected': False, 'text': '<p><a href="http://www.instamapper.com/iphone" rel="nofollow noreferrer">http://www.instamapper.com/iphone</a></p>\n\n<p><a href="http://www.apple.com/iphone/appstore/" rel="nofollow noreferrer">iPhone App store</a></p>\n\n<p>While this may not directly answer your question, there are quite a few iPhone apps that already do this kind of thing with GPS. Instamapper is the first one I pulled up from the app store, but I\'m sure you could find something to fit your needs. </p>\n'}, {'answer_id': 453961, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>We built a really thin iphone client app that simply calls a predefined .js file on our site. Works like a charm. </p>\n\n<p>See arisgames.org for the project.</p>\n'}, {'answer_id': 2151866, 'author': 'Igor Zevaka', 'author_id': 129404, 'author_profile': 'https://Stackoverflow.com/users/129404', 'pm_score': 3, 'selected': True, 'text': '<p>Why not simply use W3C <a href="https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/GettingGeographicalLocations/GettingGeographicalLocations.html" rel="nofollow noreferrer">GeoLocation</a> API available in mobile Safari? This will work on ipod touch as well (suburb precision).</p>\n\n<p>It\'s literally 10 lines of code and the javascript will work without change on Firefox 3.5. Far easier than scrape some third party website.</p>\n'}]
['https://Stackoverflow.com/questions/27138', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1992/']