According to published documentation, BIM360 trial accounts and accounts with less than 100 Users are not allowed to enable API access. In that case, when a user adds a ‘BIM360 app’ from store to his/her account, how does the added 3rd party app obtain access token when user directly logs into that app (after adding to BIM360).
Thanks
The Data Management API provides access to all Autodesk hubs, including BIM 360 Docs hubs (i.e. files). The BIM 360 API provides access to management of the account (e.g. create projects, add users, etc.).
Being an enterprise application, different users will have different levels of access, so only the Admin (1+ users) of the account can authorize an app to access its data, this is the provisioning step. This blog post suggests how apps should request their users to perform the steps. The provisioning process it's manual due security (i.e. the admin must explicitly integrate the account with the app)
By default, any new BIM 360 account is not API-enabled, so you need to request following these steps.
After provisioning, any user from that BIM 360 account that sign into your app will have permission to see the files he/she is allowed to. Here the 3-legged access token has the same level of permission as the user who authenticated.
Related
My goal is to add third party Ad Account IDs I need to access using the reportstats and insights APIs. (My developer account is at 'Basic' access so this is still a requirement.) I can see this being set in two places and I don't know what the difference is between them.
Here I can add the Ad Account Ids directly to the 'Authorised Ad Account IDs' input field:
But if I click on the "Ads API" button in the pop up I can also add Ad Account IDs, and these two places do not seem to be in sync with each other.
Those are for different purposes
The first screenshot, with the 'Authorized Ad Account IDs' field designates advertising accounts that you want to be able to run ads promoting your Facebook app - a user who isn't an admin or developer of your app will be able to create ads about your app if they do so in one of those accounts
The second screenshot is specific to apps which themselves access ad accounts via the Marketing API - for apps with 'Development' or 'Basic' access to the Marketing API you may only access a limited set of accounts, and this UI is where you specify which accounts you want to manage (otherwise any single user of your app could have so many accounts that they push you over the limit)
I am using Facebook as advertising platform to promote my application on Apple and Google stores. I would like to make windows service which will download daily report(s) about advertising status of my marketing campaign running one Facebook, preferably using 60 day token, or some permanent solution so that token is retrieved when required. I think that i understand everything to do this except how to generate access token to use it with Facebook Graph API. Which token for which Facebook account do I need and how to obtain it?
You'll need a Facebook app and to grant that app the ads_read permission in order to retrieve reports about your advertising efforts via the API (source).
You'll want a long-lived token so that you don't have to re-authenticate very often. The access token documentation details the steps to exchange a short-lived token for a long-lived one.
You may also want to consider managing the app, ad account, and access tokens (via a business system user) with the FB Business Manager.
Create a facebook app.
Go to the Graph API Explorer in Facebook's Tools & Support section.
Pick your app from the drop down.
Hit Get Token > Get User Access Token.
In Select Permissions choose required permissions or select them from extended permissions.
Use the user access token that will be presented to you in the access token form input field.
I'm trying to query the Facebook Ads API with the Graph Api Explorer. I have two Ads Account connected to me (if i query /me/adaccounts/ I see both) one is my own and the other one I'm only admin on but not owner.
The Problem is with the one I'm not the owner. If I query my Adaccount with /act_<ACT_ID/stats I get a normal response with the stats back if I query the other account i get:
(#273) This Ads API call requires the user to be admin of the ad account. User <MY_USER_ID> not admin on ad account <ACT_ID>.",
I can see both Adaccounts normal in the Facebook Adsmanager.
What I have done to get the response is:
Create an Facebook App
Added the Adaccount under developer.facebook.com -> myApp -> settings -> advanced -> advertising accounts -> Ads API. Account
open GraphExplorer (https://developers.facebook.com/tools/explorer/)
select my created App
get AccessToken (ads_management, ads_read)
go to url me/adaccounts/
if i click on my adaccount it works if i click on the other i get the #273 error
I don't see what I'm doing wrong if someone could point me in the right direction I would be gratefull.
This may be due to your ad account is inactive or in a bad standing. Additionally if your access level of your ad account is in development level these types of errors may occur. please go through what's mentioned on the doc here
If you upgrade your account to basic or standard access levels this will be solved.
On development access level only end to end workflows are suggested. The following text is extracted from facebook documentation.
The development access level is designed for development purposes and is ideal for people who are just starting to build out their tool. In this level, you would not yet have customers using your tool. This level is open to all developers, and is intended to build out end-to-end workflows on the API before you get full permissions.
A similar issue has been reported on facebook bug reports. you can see the thread here
As #Igy stated it in a comment: "a user has to be the admin of both the ad account and the app (and not just an advertiser or have some other role on the ad account)".
There is 2 places to check that:
the app's roles page, https://developers.facebook.com/apps/[APP_ID]/roles/
the account's peoples page, https://business.facebook.com/settings/people/
Once the user is admin on both side, the API calls will be just fine.
Your business manager doesn't have admin rights. Please check the admin rights of the business manager and also add the app in your business manager to get the report stat(https://developers.facebook.com/docs/apps/business-manager#update-business).
I can't figure this out, I hope someone here can point me in the right direction. I've searched for an answer but was unable to find it.
I want to create a Facebook app which would manage ads (download ads reports and statistics). I've got user account, registered as developer, created and whitelisted the app. I've got only Development Access and that means means I can query only ad accounts owned by the admins of the app, set up in the account list associated with your application.
Problem is that the account with ads is a business account so I can't add this account as part of developers team and get the statistics. I get permissions errors when trying to access the business account (I have access token and everything, it just won't let me see the ads data due to insufficient permissions).
Is there a way to do this without applying for Basic access (not sure if I'll get it since the app is not done)? Can't I really somehow connect my developer's account with that business account?
About access limits: https://developers.facebook.com/docs/reference/ads-api/access/v2.2#limits
Seems like this is working correctly - you can build and test the app against accounts administered by your app's admins/developers at first
Once it's working you can submit it for approval to the Basic access level, where you can manage more accounts, including those belonging to users who aren't admins/developers of the app
There's more information about the access levels and how to move between them in the Access levels dovumentation
I want to get the Information about to have an admin dropbox account which has multiple dropbox account under it. In the available APIs there are no API given for User provisioning or which will give me users accounts available of one admin account. So can anybody tell me right way to do it ?
The Dropbox API does not currently offer any such Teams specific or user provisioning functions.