I want to use Google Reporting API to get the users' activity report (last login, etc).
My application is using oauth 2.0 to access other Google APIs. But it seems like Google Reporting API is not supporting oauth 2.0. Any suggestions how should I do it ? Implement oauth 1 or use different Google API (if it exists) to get users' activity report?
I think you are looking at the old documentation for the reporting API.
For the brand new reports API (https://developers.google.com/admin-sdk/reports/v1/guides/authorizing), it is encouraged to use OAuth 2.0.
Notice that the older API is called reporting API, but the new API that was just released at the IO is called reports API.
Related
I have searched a lot these days trying to understand the recent changes happening to the Instagram API. I had in mind that there is some sort of an API that allows you to manage your account (posts/followers etc.) using an application other than the official mobile and web apps (connected via Oauth 2.0). Is there such a capability?
1.How to programmatically connect with QuickBooks Online using .NET? We followed the below article but this needs manual intervention to connect.
http://ippdocs.intuit.com/0025_QuickBooksAPI/0010_Getting_Started/0020_Connect/0010_From_Within_Your_App/Test_the_In-App_Connect_Flow
Initially we developed the sample application using the code:
https://github.com/IntuitDeveloperRelations/IPP_Sample_Code/tree/master/QuickbooksAPI/DotNet/WebForms%20application
2.Which type of integration method we have to use Json or .NET SDK library? Most of the Json examples are code fragment only, Where we can download the sample application using Json with .NET
You cannot connect to Quickbooks APIs without manual intervention as it is a part of the 3 legged OAUTH flow.
The .Net SDK supports XML and JSON. There is no separate JSON library. The sample app for Dotnet in v3 is not yet available. Please refer to the docs for generating the JSON requests.
https://developer.intuit.com
If you want to create SaaS application and want to publish it in Appcenter then you need to implement OAuth flow which needs user's input for authorization. In the dev env, using the above sample app, you can get the OAuth tokens(consumer key, consumer secret, access key and access token) which you can use in your app to call all API endpoints.
https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/0150_ipp_.net_devkit_3.0/0002_synchronous_calls/0001_data_service_apis#Step_3:_Build_the_ServiceContext
FAQ - https://developer.intuit.com/docs/0025_quickbooksapi/0058_faq
.Net V3 Link - https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/0150_ipp_.net_devkit_3.0
But Intuit Quickbooks API(V2/V3) are only for SaaS app. If you want to create some custom solution for one company then you should use QBSDK.
Ref -https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/0250_qb
Thanks
I'm using oAuth2, and I have a project in my google API console with an iOS client and a Web client registered.
I'd like to auth in from my iOS app, and have my web backend retrieve an access token so it can do the heavy processing work with the Google api.
I've tried following these instructions which are for android: https://developers.google.com/accounts/docs/CrossClientAuth
But I keep getting an invalid scope when I assign the scope as:
oauth2:server:client_id:MY.WEB.CLIENT.ID:api_scope:http://www.google.com/m8/feeds/ https://mail.google.com/ https://www.googleapis.com/auth/plus.login
Anyone successfully implement a similar set up for iOS? If so please explain or share documentation? What libraries or SDKs did you use to get the code from google on the iOS app that the web backend could use to generate a proper access token of it's own?
As of June 18th, the google iOS SDK 1.7.0 supports one-time authorization code which is consistent with the Android feature: https://developers.google.com/+/release-notes/
I want to read tweets from a public account (the public twitter account shows delays in the public transport).
I am planning to use LINQ to Twitter for that reason.
The question is: do I need to create an 'application' at the Twitter dev portal for this reason?
This doesn't seem necessary because my custom app does not post any data but only reads it...
Twitter recently shut down API v1.0 and everything now runs on API v1.1, including LINQ to Twitter. API v1.1 requires authentication on all endpoints.
So, you will have to create an application and use OAuth.
There are demos with the LINQ to Twitter Downloads and with the downloadable Source code. There is a Samples page for various technologies. You can also read the Documentation, which includes explanations of all APIs. I recently added a Twitter API Map so you can match Twitter API endpoints with LINQ to Twitter queries.
Currently Google is migrating their old Google Data API to the new Google API.
When we do API queries over the old Google Data API, we usually use Zend Framework and the given consumer key/secret to do the authen/autho, which is fine.
Question is, is it possible to use the given consumer key/secret (from the Google Apps Marketplace listing) and the new OAuth 2 Library to call the API? What I have been having is the error message redirect_uri mismatched issue and obviously Google Apps Marketplace provides no way to change this value. Even though they had provided a link for us to go to the API Console from the listing page, I cannot see the OAuth 2.0 options in my API Access page at all.
Did I missed out anything?
If let's say I need to use the Google Apps Admin Settings API, does it mean I need to separately create a new OAuth 2.0 API Access in the API Console, then, when I need to access user data, I need to do the Auth flow again using this new consumer key/secret/redirect? I can't set this permission in the Listing Manifest? (Not supported?)
Thanks for the clarifications!
Google Apps Admin Settings is not yet migrated to the new google-api, AFAICS. Check out this list : http://code.google.com/p/google-api-java-client/wiki/APIs ;
you can however use the new google-api client libraries but you have to roll your own XML model for the given API, it is not so hard, I did a similar thing for the Contact API;
The consumer/key secret can be re-used normally if it is sufficiently scoped. A related project for your market app is automatically created in the Google Api console from what I remember..