here = location(false, 2);
result = httpGet("http://maps.googleapis.com/maps/api/geocode/json?latlng="~here["lat"]~","~here["lon"]~"&sensor=true");
log(""~result[1]);
place = find("formatted_address. : (.*)", result[1]);
post("Currently I'm at " ~ place[0], "facebook");
post("Currently I'm at " ~ place[0], "twitter");
Labels
Sample
(14)
Intent
(5)
Media
(5)
Location
(4)
Funny
(3)
HTTP
(3)
Sleep as Android
(3)
WiFi
(3)
Alarm
(2)
Recording
(2)
Regexp
(2)
Array
(1)
Basic
(1)
Battery
(1)
Browser
(1)
Calculator
(1)
Contacts
(1)
Content Provider
(1)
Cron
(1)
Dialog
(1)
Dictionary
(1)
Export
(1)
Function
(1)
GUI
(1)
Game
(1)
Loop
(1)
Random
(1)
SD Card
(1)
Social
(1)
Temperature
(1)
Text to Speech
(1)
Weather
(1)
Search Scripts
2012-06-28
Sample: Address from Facebook
Subscribe to:
Post Comments (Atom)
ERROR: Cannot run script locfb, NullPointerException null
ReplyDeleteDEBUG: PARAM timeout = 2
DEBUG: PARAM fine = false
DEBUG: FUNCTION location()
INFO: Starting DEBUG service
INFO: Start in foreground
And if you don't bother with Step 3, or if you forget, you get the blame for hurting someone's eyes. This hardly seems fair--Facebook could easily add a facility to strip out your link just as automatically as they add a preview of the linked Web sitefacebook
ReplyDeleteI love it when folks get together and share opinions. Great site, stick with it
ReplyDeletehttp://www.prokr.net/2016/09/insulating-companies-3.html
http://www.prokr.net/2016/09/insulating-companies-2.html
http://www.prokr.net/2016/09/insulating-companies.html
ReplyDeleteGood write-up. I definitely love this site. Keep it up
http://prokr112.pen.io/
http://prokr123.webstarts.com/
http://prokr1235.bravesites.com/
http://h-alriyadh.com/
https://www.prokr.net/ksa/jeddah-water-leaks-detection-isolate-companies/