SDK for windows phone for Twitter API - windows-phone-7

I want to develop a sample App for Twitter on WindowsPhone7. So anybody suggest me if any SDK for Windows Phone is available. Also any code samples for the OAuth API implementation.
Thank you.

There a few tutorial about buliding Twitter app. An example. There are also a lot examples of Twitter apps in WPF or OpenSource projects like Witty which can be easly changed to SL for WP7.

Client-side OAuth manager DLL / Documentation:
http://cropperplugins.codeplex.com/releases/view/57233
You can view the source here:
http://cropperplugins.codeplex.com/SourceControl/changeset/view/66350#1710422
Doc here:
http://cheeso.members.winisp.net/OAuthManager1.1
It allows you to specify params like username, password, consumer key, secret key, and it generates the required HTTP headers for you.
See also, this discussion.

Related

Windows Authentication for Xamarin UWP

can any one help me how to do Windows Authentication using xamarin forms
Thanks in Advance
Regards,
Reddy Krishna M
You can take a look at our documentation on using Windows Integrated Auth with UWP. We also have a sample app which demonstrates creating a Xamarin application that signs in users with AAD and calls the Microsoft Graph using OAuth 2.0 access tokens.
More documentation on Integrated authentication on Windows.
For the authentication libraries, the implementation of WAM, which is another layer of Windows auth, is on the horizon. Hope this helps.

Client flow login for Xamarin?

I am looking for sdk that can help me do the client flow login in my Xamarin app(shared assets with forms UI) for Facebook and LinkedIn for iOS and android. I've got it working using Xamarin.Auth server flow but having hard time in client flow.
For facebook, I tried Xamarin Android Facebook, Xamarin iOS Facebook and cross platform facebook sdk by outercurve foundation. The official xamarin facebook sdk's are in very bad shape, don't work and no documentation has been provided as well. I couldn't find any for LinkedIn though.
My main objective is to use facebook and linkedin app to do the authentication to provide better user experience.
Eventually worked with official Xamarin Facebook SDK's for facebook for android and iOS. This blog post from James Montemagno came in handy.
Take a look at Auth0. They have a reasonable SDK and they support a large number of different Social Authentication providers including Facebook and LinkedIn. Their authentication service isn't free once you reach critical mass, but it's great to have the whole authentication aspect handled for you. Check it out at http://www.auth0.com

The Google Admin SDK Email Settings API is not listed in the APIs Discovery Service

In working with the .NET client library we found that the Email Settings API was not available in it or any of the other client libraries. After communicating with the developers of the .NET library on how the library is generated we noticed that the Email Settings API is not listed in the API discovery service as part of the Admin SDK. The .NET client library relies on the discovery document as does the PHP client. Both the Directory API and the Reports API are.
I noticed that in the documentation for the Email Settings API that calls are still made to apps-apis.google.com:
https://apps-apis.google.com/a/feeds/emailsettings/2.0/
rather than to www.googleapis.com like the other Admin SDK APIs do:
https://www.googleapis.com/admin/directory/v1/
https://www.googleapis.com/groups/v1/groups/
https://www.googleapis.com/admin/reports/
I'm guessing that this is the underlying reason for why this particular API is not included. Is there a timetable for getting the Email Settings API moved to the googleapis service?
There are two types of Google APIs. Gdata APIs and discovery APIs.
The Gdata APIs are old APIs a lot of them have actually been shut down. The client libraries for them to my knowledge where not auto generated.
if you check the documentation for the email settings api there is some sample code for .net.
using Google.GData.Apps.GoogleMailSettings;
The key here is that its a Gdata, its a Gdata api. Which means that like you said its not supported by the current Google .net client library which only supports discovery APIs.
After doing some searching in the code for the Gdata client library. Yes it exists but it hasn't been developed on in ages. There is some code in there for Google email settings There should be a nuget package for it but I have not been able to find it.
The only thing that i have cound that might lead us to the corect nuget package is this
Install-Package Google.GData.Apps
I don't have an admin account so I cant help you test it. However I can probably give you some hints on getting it working. You should be able to track me down from my stack profile if you need help or just post another question on stack. I should spot it.

Gem to post message on google plus?

Is there any gem to post message on google plus from our rails application ?. I want to post a meesage on my google plus page whenever i logged in my application using google plus credentials. Please suggest me the gem name to do this. Thanks in advance.
EDIT
I have a app in goole plus. On behalf of my application users, my app should post messages.
I suggest to use gem 'google_plus'`
As Google plus having so many restrictions. Still I would Like to Share a link you can follow that..
How to share content from our site to google plus
For more reference:
https://developers.google.com/accounts/docs/OAuth2
https://developers.google.com/+/web/share/interactive#button_attr_calltoactionurl
I hope it will work fine...
Yes, there's a Ruby client library provided by Google which allows you consume their Google+ API
https://developers.google.com/api-client-library/ruby/apis/plus/v1
UPDATE
The URL above points to Ruby client library. The API you're looking for is moments.insert
https://developers.google.com/+/api/latest/moments/insert
There is an official Google API Client gem. However the Google+ API does not allow standard automated posting to a profile. The recommended approach to share posts is the share button or the interactive share API.
The automated posting that Google+ does support are:
App activities/moments are a way to make actions within your app visible to other users of your app. They do not appear in the Google+ posts stream.
Domains API can be used with Google Apps accounts to create posts that are limited to users within the company.
Pages API can be used to post to a page (not a profile) but is limited to approved partners.

Google API Oauth 2 with Installed App

I am using Google API OAuth 2.0 for Installed Applications & php. This is a WordPress plugin we are updating, and it was recommended to us by Google support to use Installed App instead of Web App "because you will then have a single Project ID, your users won't need to create their own using the APIs Console"
I am wrestling a bit to get the proper setup for this - Web App samples were easy enough, but I cannot find a single example of the code setup for creating these:
https://developers.google.com/accounts/docs/OAuth2InstalledApp#formingtheurl
It says I should use "code" & "grant_type", but I don't see any functions in the apiClient to set these.
As I'm prolly not being very clear, what I'm looking for is the equivalent of this:
$client->setClientId();
$client->setClientSecret();
$client->setRedirectUri();
$client->setDeveloperKey();
$client->setScopes(array('https://www.googleapis.com/auth/analytics.readonly'));
For Installed Apps.
Thanks!
The Google Drive SDK documentation includes a step-by-step quickstart sample that uses OAuth 2.0 for Installed Applications:
https://developers.google.com/drive/quickstart
This is the code you are looking for:
$client->setClientId('YOUR_CLIENT_ID');
$client->setClientSecret('YOUR_CLIENT_SECRET');
$client->setRedirectUri('urn:ietf:wg:oauth:2.0:oob');
$client->setScopes(array('https://www.googleapis.com/auth/analytics.readonly'));

Resources