Hello,
  1.    When I point at geocodeAndProfileData.php, xml content listing
all my friends and their profile attributes+geocoded lat&lang are
displayed.The xml output is shown below:-

<?xml version="1.0" ?>
- <users>
    <user uid="1001111" name="ABCD EFG" city="Santa Cruz"
state="California" country="United States" lat="36.9779050"
lng="-122.0333160" status="200" />
</users>

2. I use the GDownloadUrl(geocodeAndProfieData.php, function(data)
{...  to generate the xml.
3. Get the needed attribute values for generating markers.

Actually I am using the :- 
http://code.google.com/apis/maps/articles/phpsqlajax.html
tutorial and trying to follow it.


On Jul 31, 1:55 am, Andrew Leach <[email protected]>
wrote:
> On Jul 31, 9:38 am,harshadaj<[email protected]> wrote:
>
> > Hello,
> >      I am trying to mark all my FB friends on google map using
> > markers.
> > My app page is:-http://apps.facebook.com/mykaleidoscope/
> > orhttp://hillsbvhbq.facebook.joyent.us/createMap.html
>
> > The map loads on the page, but no markers are displayed.I am not able
> > to figure out the exact problem.
>
> What happens when you point your browser 
> athttp://hillsbvhbq.facebook.joyent.us/geocodeAndProfileData.php?
>
> I get this response:
> <script type="text/javascript">
> top.location.href = "http://www.facebook.com/login.php?
> api_key=c136464a3e12bea955f80786c6de1c16&amp;v=1.0&amp;next=http%3A%2F
> %2Fhillsbvhbq.facebook.joyent.us%2FgeocodeAndProfileData.php";
> </script>
>
> There aren't any <user> elements in that response, so your code
> doesn't plot any. As I don't have a Facebook account, I've no idea
> what happens with one. But you shouldn't be able to pick up Facebook
> cookies and pass them around, so I'm not convinced that it will work
> at all.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to