facebook / facebook-ruby-business-sdk

Ruby SDK for Meta Marketing API
https://developers.facebook.com/docs/business-sdk
Other
208 stars 160 forks source link

Does not work with faraday < 0.9.2 #8

Closed davidhu2000 closed 4 years ago

davidhu2000 commented 7 years ago

get this error whenever trying to make a post request to upload image

ArgumentError: wrong number of arguments (given 3, expected 1..2) from /Users/davidhu/.rvm/gems/ruby-2.3.0/gems/faraday-0.9.0/lib/faraday/response/logger.rb:7:in `initialize'

I am using faraday-0.9.0

in faraday 0.9.0

def initialize(app, logger = nil)

in faraday 0.9.2

def initialize(app, logger = nil, options = {})

This error is caused by Facebook SDK expecting the initialize method in logger.rb to accept 1..3 arguments instead of 1..2

stale[bot] commented 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.