Csharp Twitter API with all twitter features - c#

I want to make website that do every things without twitter.com
I want see and reply twitter account tweets,DM,Mentions,Reply...are there any C# twitter API that include this features?

I am the developer of Tweetinvi. Tweetinvi is a C# library for Twitter that contains with very few exceptions all the features provided by Twitter as well as various tools that will simplify your development.
The library has been developed with various Twitter developers to help them in their various usages of the Twitter REST and Stream APIs.
You can watch a short introduction video at https://www.youtube.com/watch?v=1maeTudF8cQ.
You can find Tweetinvi at https://github.com/linvi/tweetinvi.
The documentation at : https://github.com/linvi/tweetinvi/wiki/Introduction
Enjoy!

Related

How to start with the Google API for Gmail?

I want to receive mails from Gmail in my .NET project with Visual Studio 2022.
I've installed all required NuGet Packages, and now I'm searching for a detailed description of this API.
Which classes and methods are available?
I found something at developers.google.com.
But I miss an overview of the classes and methods.
Or what does the API do?
Right now, I'm able to forward the user of my app to allow me the access to Gmail. I receive the "code", but I have to transform it into a "token2".
Do I have to send a HTTP by myself? Why can I not find a .Net function to do that for me?
Sorry for asking, but I'm searching since two hours for the answer...
Gmail API + Google .net client library Nuget Gmail package.
I've installed all required NuGet Packages, and now I'm searching for a detailed description of this API.
A detailed description of the Gmail api and all its methods can be found on Gmail API documentation page. The documentation for the API lists all the methods that can be used and their required parameters and the responses.
As for the NuGet package for Google.Apis.Gmail.v1 there is no documentation for each of the methods related to each of the Google APIs. This library is generated from the discovery doc so there will be a method in the library for each of the methods listed in the Gmail API documentation. It is "assumed" that by consulting the Gmail API documentations you can "Determine" what method in the library you would need to use.
There is an extremally out of date documentation page for API Client Libraries
.NET
which only goes into some detail of the overall usage of the library it self. It does not tell you how to use every method in every api that it supports.
If you can not figure it out by looking at the documentation as mentioned above then, Your best bet would be to check the assembly directly in visual studio this is something that I am able to do in Rider I would be surprised if Visual studio can not do something similar.
If you have a specific question regarding one of the methods and how to use it in the library please open a new question I would be happy to help.
API vs Client library
what does the API do?
The API gives you access to Gmail api. The Gmail NuGet package gives you access to the Gmail api.
Right now, I'm able to forward the user of my app to allow me the access to Gmail. I receive the "code", but I have to transform it into a "token2".
Depending upon which type of application the library should be handling all the authorization for you. You shouldn't need to worry about the authorization code. Let the library do it for you. Please consult Authorization overview
Do I have to send a HTTP by myself? Why can I not find a .Net function to do that for me?
The library will do all this for you.
var results = service.Users.Labels.List("me").Execute
Will return that response to you.
Links
I think you should start with a few simple examples in order to understand how the Google .NET client library helps you interact with the Gmail api.
Gmail quickstart
How to Access Gmail with C# .net

How can we access specific Google Analytics account data using API and C#?

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

Alternatives to Google Libraries/DotNetOpenAuth for Google OAuth2

I'm looking for the easiest way to authenticate against google oAuth 2.0 implementation for the purpose of accessing the google Drive API. These are the constraints:
It has to be .NET 2.0 compatible
Can not use the google libraries
I'll be using a service account to do work on behalf of specific users
I've looked at DotNetOpenAuth, but the version for the .NET 2.0 runtime doesn't seem to support oAuth 2.0 (google has deprecated oAuth v1, which DNOA supports, of course).
Google's documentation is confusing, at best (witholding explitives here).
Not sure if this will help but the since you mentioned direct JSON, XML, etc. Google has a UI that simulates and generates requests as well as provides some limited documentation that might get you started on creating such code:
https://developers.google.com/apis-explorer/#p/
https://developers.google.com/oauthplayground/
The following provides some additional info on the login:
https://developers.google.com/accounts/docs/OAuth2Login
Far from exhaustive but it's a start if that's your angle.

How to Develop Facebook App When C# SDK Deprecated

Currently, I have an app and I want to integrate it with Facebook. My App is bases on C# and now the C# SDK is deprecated. Some requests can't be made by client side requests (extending access token for example), so Javascript SDK can't help.
Is there anyone who knows how to integrate a C# app with Facebook when C# SDK deprecated?
Thanks
Facebook open graph api's over REST. Event though C# SDK is deprecated, it won't be that tough to write basic http calls with basic http library of C# to make api calls.
With regards to login, you would have to embed an instance of browser, as far as I can remember, C# had msie embed options. Using the browser embed, one would have to capture the access token returned on redirect and use it later for making http calls to REST interfaces of Facebook api's from C#.

Google Analytics Access with C#

I know that there is no official API for Google Analytics but is there a way to access Google Analytics Reports with C#?
Update: Google launched a Google Analytics API today.
Google Analytics Blog - API Launched
I wrote a small project that lets you generate pretty much any Analytics report. It's listed on Google's Analytics API page - http://code.google.com/apis/analytics/docs/gdata/gdataArticlesCode.html
You can read about it here and get the source code - http://www.reimers.dk/blogs/jacob_reimers_weblog/archive/2009/05/09/added-google-analytics-reader-for-net.aspx
I emailed them asking this same question a while back and here's the response I got:
Hello,
Thank you for your email. I apologize for the delay in replying to your email. Google Analytics does not currently provide an API to access the reporting data. However, we do offer export functionality for single reports in the following formats:
PDF
Tab separated value (TSV)
XML
Excel (CSV)
This feature allows you to easily import report data into your favorite spreadsheet application or to process the data otherwise.
Additionally, we're unable to provide support for custom implementations of Google Analytics. For this level of support, you can contact one of our highly qualified Google Analytics Authorized Consultants for assistance with advanced needs. These partners deliver a number of professional services such as installation support, training, and advanced filter and e-commerce configurations.
For a complete list of our worldwide partners and a more detailed description of the services they offer, please go to http://www.google.com/analytics/support_partner_provided.html
For additional questions, please visit the Analytics Help Center at http://www.google.com/support/googleanalytics/?utm_id=tf. You can also find helpful tips and information by visiting the Google Analytics Help Forum at http://groups.google.com/group/analytics-help?utm_id=tr.
Sincerely,
[snip]
Analytics Support
For the latest updates as well as some helpful tips on Google Analytics, check out the Google Analytics blog at http://analytics.blogspot.com
I have a completed library for called GoogleAnalytics.Net that allows you to fire page views/events/transactions from within .net code.
You can download the library from it's project home page:
http://www.diaryofaninja.com/projects/details/ga-dot-net
This guy has had some success with at least some light Analytics integration. Now I realize this isn't exactly what you're looking for, but he does mention a book and perhaps you can get in touch with him.
Have a look at the SilverLight Google Analytics Snippet - http://code.google.com/apis/analytics/docs/tracking/silverlightTrackingIntro.html
http://msaf.codeplex.com/wikipage?title=Google%20Analytics
Because Silverlight is C#.
Google analytics API changed recently(2012) and because of that most of the codings are changed. so below link will be helpful for c# developers
Google Analytics API in C# -Execution of request failed: https://www.google.com/analytics/feeds/accounts/default
Google has created there own client lib Google APIs Client Library for .NET which allows for access to most of the Google Apis using dotnet.
Then can be found on nuget
Yet another analytics API for C#
https://github.com/igooana/igooana
This project is aimed at C# 5 and uses async/await and dynamic extensively.
I tried to make this API as simple as possible and maximum type-safe.

Categories