Tag Info

Hot answers tagged

1

As @BrockAdams said, the string is compressed and need to be uncompress depending on the $request->headers. $request = drupal_http_request('https://api.stackexchange.com/2.2/users?order=desc&sort=reputation&site=stackoverflow'); if (isset($request->headers['content-encoding'])) { if ($request->headers['content-encoding'] == 'gzip') { ...


1

Ah, there were recently some association changes on the main sites and this is a consequence of that. The API is not meant to return association information for Area51 (and Area51 doesn't expose an API itself). This has been fixed; such data is no longer returned.


1

As Dennis pointed out, there is no owner (effectively) on that question. That the API does not return a displayable "no user" string in these (and related) cases is an acknowledge deficiency which will be rectified in a subsequent version.



Only top voted, non community-wiki answers of a minimum length are eligible