News for hackers. Stuff that matters.
Re:Who Does Facebook Think You Are Searching For? by kmavm on Thursday August 18, 2011 @01:05AM (#2898045)
Indeed, it is not wise to run third-party bookmarklets while logged into Facebook. This one may be benign, but the next one may not be. If you want to see the JSON we're talking about, just load

https://www.facebook.com/ajax/typeahead/search/first_degree....

with 'userid' replaced with your numeric Facebook account ID.

Re:Who Does Facebook Think You Are Searching For? by danger on Thursday August 18, 2011 @01:52AM (#2898140)
For mine to display scores, I had to remove the "[0]" after "filter": https://www.facebook.com/ajax/typeahead/search/first_degree....

With the "filter[0]" in the url, all scores came back as 0 for me.

Re:Who Does Facebook Think You Are Searching For? by kmavm on Thursday August 18, 2011 @01:57AM (#2898156)
Thanks, edited accordingly.
Re:Who Does Facebook Think You Are Searching For? by Sniffnoy on Thursday August 18, 2011 @05:46AM (#2898622)
I just keep getting errors. Viewer is also supposed to be replaced with the numeric ID, right?
Re:Who Does Facebook Think You Are Searching For? by Sniffnoy on Thursday August 18, 2011 @08:23AM (#2898921)
Nevermind, I misinterpreted. I just realized it's supposed to be "viewer=[ID]", I was interpreting it as "viewer=[ID]&userid=[ID]". I'm still getting errors, but presumably that's another matter.
Re:Who Does Facebook Think You Are Searching For? by raptrex on Thursday August 18, 2011 @02:22AM (#2898211)
how do you find your numberic facebok ID?
Re:Who Does Facebook Think You Are Searching For? by irahul on Thursday August 18, 2011 @02:41AM (#2898258)
If your fb id is raptrex, https://graph.facebook.com/raptrex

There might be another way, but this is the one I use.