I am building an application that should work with LinkedIn API V2 to make a data provider that will go through authorization process with OAuth2.0 and that will exchange the code with access token in order to make API calls towards LinkedIn in order to access the specific data from the user.
Does anyone know if there is any up-to-date library for easier implementation of LinkedIn API V2 in order to use it within my .NET Application, it is made with WPF (Windows Presentation Forms)
Basically what I am looking for is something similar to Facebook and Instagram Graph-API, I hope there is or there will be something for LinkedIn, let me know if you have some info!
Thank you!
Related
Hi guys I am a bit new to azure, so im trying to implement a sign up functionality on my mobile xamarinforms app, I'm not quite sure if I need to use graph API https://graph.microsoft.com/v1.0/users to register my users through the app using this API, the challenge i am facing is that if I use the API it needs a token which I don't know which token needs to be passed since a new user is registering to my app to gain access. Is there a docs that can help or I need to use a different approach to signup users to my app?
For getting the access token:
Microsoft identity platform authentication libraries for mobile applications:
Please refer this documment:https://learn.microsoft.com/en-us/azure/active-directory/develop/reference-v2-libraries#mobile-application
We are developing an app that intended to access website data of other websites owners who are registered on our app.
What we want that user will login into their gmail account and provide our app access to their google analytics account for their website.
We need complete implementation using c# of google analytics API where we can ask user to give our app access. Any help will be highly appreciated.
You need to use Google Analytics Reporting API. There is quick start guide is available for the Java, Python and PHP. I have created custom reports in PHP.
Use this link: https://developers.google.com/analytics/devguides/reporting/core/v4/
Here you can use REST APIs in your C# application:
https://developers.google.com/analytics/devguides/reporting/core/v4/basics
I'm working on an app using Azure's Mobile App services (as opposed to Azure Mobile Services). I've successfully implemented the single sign-on with FB (mentioned here: https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-how-to-configure-facebook-authentication-preview/), but now that I can log in I can't figure out how to access the user information on the backend (such as basic user information and access tokens).
Could someone please provide an example or point me to a tutorial explaining how to access this data?
Take a look at the following tutorial blog post: http://blogs.msdn.com/b/carlosfigueira/archive/2013/12/16/enhanced-users-feature-in-azure-mobile-services.aspx - also http://blogs.msdn.com/b/carlosfigueira/archive/2012/10/25/getting-user-information-on-azure-mobile-services.aspx
This is written a while ago, and uses the NodeJS backend, but you should be able to translate this to .NET as the same basic information exists - you use GetIdentities() to get the facebook token, then use the Facebook REST interface or the SDK (http://facebooksdk.net/) to get the rest of the information you need.
The basic piece of information you need is to use the GetIdentities() call to get your
I'm rather new to Web development so bear with me.
I've developed a backend server in C# (non-web app) that exposes some features via a REST API implemented in Web API (OWIN and Katana).
I've developed a Xamarin android app the consumes that API.
Now I want to enable the consumption of the API only for users who have authentication using Google.
I know OAuth is the way to do it and I've been reading a lot about it but I'm still kind of confused about the roles here and who should do what.
What should my server do or implement? what should my client do or implement?
An important feature of OAuth2 to be aware of is the two different authentication flow types:
implicit auth flow
explicit auth flow
I've personally found the Instagram API documentation to explain this pretty well:
https://instagram.com/developer/authentication/
Explicit auth flow is a little more tricky because it involves extra coordination on the part of your custom API. Implicit auth flow is a little easier, because your app will simply look for a URL fragment that comes back from the OAuth provider. That URL fragment contains a token that you can use for subsequent calls to the API that you want to talk to, Google in your case.
But in your case, it sounds like you want to use Google as the identity provider for your custom API, correct? In that case, I think you'll need to use explicit auth flow. Again, check out the Instagram docs. I find them to be particularly good at explaining OAuth2.
EDIT:
And be aware of the Xamarin.Auth component, which is designed for easing OAuth scenarios. You can find it in the Xamarin Component Store or on Github.
I have an application running on a server that periodically extracts data from Google Analytics. It doesn't issue many queries so I don't think any limit would be a problem.
I have a prototype running, however I had to provide a login a password for the authentication (in code).
I see that I can generate API keys and other kind of authentication bits and pieces in the Google APIs Console, however I am not sure how to use them and whether they can be used in place of the login/password.
It just doesn't seem right to use a user login/password to authenticate a server application.
Is there another way?
(I am using the C# client library)
You should be using OAuth 2.0. See:
http://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/samples/oauth2_sample/oauth2demo.cs
for a sample OAuth workflow.
The best way to do this is with Google Service Accounts
https://developers.google.com/accounts/docs/OAuth2ServiceAccount
However, I don't know off the top of my head the best library for c#, but there does appear to be support for it in the Google library. http://code.google.com/p/google-api-dotnet-client/wiki/OAuth2#Service_Accounts
Here's a answer specifically about the PHP client.
Service Applications and Google Analytics API V3: Server-to-server OAuth2 authentication?