Updated resource loader constructor to be compatible with Facebook::api method