revetkn/restfb — pull request #22 by masterludo (2012-10-11 23:11:39+00:00)
Title: Workaround for Facebook bug returning non-https URL for paging in batch requests

...36939577

There is a bug in FB occuring when using batch requests:
https://developers.facebook.com/bugs/430824836939577

Trying to iterator over the connection fails with an error 400 because the "next" URL uses http instead of https:
com.restfb.exception.FacebookOAuthException: Received Facebook error response of type OAuthException: You must use https:// when passing an access token

I patched this workaround a while back in 1.6.9 when the bug first occured and finally commited it in my fork.

Can you please merge the workaround? I'd really appreciate having a new release soon with this workaround. Thanks!