As discussed in arsduo/koala#163.
Mocked specs implementation might not be ideal and there’s still some work to do to pass the live tests.
This looks like a good and friendly patch. Any chance of a release including this? The facebook offline deprecation is already being rolled out, so this would be helpful if included.
I'm merging this in now, and hope to have a release out this week, even if it means rolling out the solution to #165 in a later release. Stay tuned!
Add support for access token exchange
Use the correct access token to fix live specs
I rebased against master and fixed the live specs. I also renamed [get_]exchange_access_token and [get_]exchange_access_token_info. This last one doesn’t sound so good but meh…
I still got this one failure but it fails as well on master. I wouldn’t release Koala with this one failing though ;)
rspec ./spec/support/graph_api_shared_examples.rb:220 # Koala::Facebook::API with an access token it should behave like Koala GraphAPI with an access token can delete posts
Thanks again for the pull request! I've merged it into master and verified that all the tests are running properly. I think it's ready to go!
I'm seeing the same test failure you saw, but that seems to be a Facebook bug, not a problem with Koala, so I plan to release 1.4 sometime this week.
Might be good to add docs for this