Closed csroberson closed 4 years ago
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
If you look at https://github.com/facebook/facebook-ruby-business-sdk/blob/99ae0d54eb3d9626ed502f83626a398112953726/examples/PageNode.rb#L32 you will see the example code throws an error:
However, it appears that, perhaps, this code should be:
It looks like the fields value should be an array, with the values separated by commas and there should be no comma after limit since it is the last key-value pair in the hash. It's difficult to determine how to handle the
location{latitude''longitude}
part of the example as that also does not seem to be a valid syntax.I'm not forking and attempting to fix this myself as I'm still trying to understand the correct syntax to make queries. For the record, back in May, I was able query the API successfully:
However now, with 0.3.0.6 (the latest version I can actually seem to make work), the same queries throw errors: