Comments (10)
@kurko you can make it work this way:
ad_account = FacebookAds::AdAccount.get("act_id", 'name', {
access_token: token, app_secret: secret, api_version: '5.0'
})
Or
session = FacebookAds::Session.new(access_token: <ACCESS_TOKEN>, app_secret: <APP SECRET>, api_version: <VERSION>)
VERSION being 5.0 right now.
from facebook-ruby-business-sdk.
I am getting this as well when using the marketing API,
Ruby 2.4.3
Rails 5.2
FacebookAds 0.2.11.0
from facebook-ruby-business-sdk.
Heads up that I was able to work around this by making sure I was using the 3.0 version of the API for apps I created before July 26, but anything created after defaults to using 3.1 -_- Koala also allowed me to manually set my API version https://github.com/arsduo/koala Seems like none of the official sdks at this point support 3.1 or hard setting an API version...
from facebook-ruby-business-sdk.
Thanks @aminabloc for the prompt response.
We are only using the apis provided by this gem to upload video files to Facebook. How did you able to get around this issue if you don't mind me asking?
from facebook-ruby-business-sdk.
I have updated to the latest version of the gem and it seems to be working now. Thanks.
from facebook-ruby-business-sdk.
@rajraj is this still working? It seems like 0.3.2.x is completely broken, as well as 0.3.1.x.
from facebook-ruby-business-sdk.
@kurko sorry for the late response. I no longer works on that project so not sure if its still works, sorry!
from facebook-ruby-business-sdk.
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.
from facebook-ruby-business-sdk.
Still waiting for an answer.
from facebook-ruby-business-sdk.
Please update your SDK version to make sure still call valid API version.
from facebook-ruby-business-sdk.
Related Issues (20)
- Ruby 3.1.0 errors with Psych::DisallowedClass: Tried to load unspecified class: Time HOT 2
- Can we upgrade safely? HOT 1
- When successful in creating a custom conversion, the response body is incorrect and generates a JSON::ParserError
- Not being able to retrieve preview code
- `ad_account.adrules_library.first.evaluation_spec` raises JSON::ParserError
- Update Faraday dependency to 2.x HOT 2
- Can't pull campaigns from Ad Accounts HOT 1
- File.exists? method was removed in ruby 3.2
- undefined method `configure' for FacebookAds:Module (NoMethodError) HOT 1
- Custom Properties Feature is not supported for Server-Side API in Ruby SDK HOT 1
- Support for app_data field HOT 5
- Specs are not passing
- Uninitialized constant FacebookAds (NameError)
- Cannot add user to custom audience on Ruby 3.2
- facebookbusiness README says that Ruby v2 is sufficient but the gemspec says otherwise HOT 1
- Breakdown fields are missing on AdsInsights
- `::UploadIO` is deprecated HOT 1
- JSON parsing fails in Rails 7.1 apps
- Graph API V12.0 Deprecation HOT 1
- Unsupported targeting option: targeting_automation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-ruby-business-sdk.