News for hackers. Stuff that matters.

LostCrew

What regular expression does Facebook use to parse the 'fields' parameter?

http://stackoverflow.com/questions/17698394/what-regular-expression-does-facebook-use-to-parse-the-fields-parameter

We are currently working on improving our REST API and we need to implement the optional 'fields' parameter for some actions. Therefore, we would like it to recognize the pattern of the request in the same manner Facebook is currently doing:GET https://graph.facebook.com/me?fields=name,birthday,photos.limit(10).fields(id, picture)After some google searches, we didn't find anything. So far, we...

( Read More... | no comments | 3 points | on HN )