Transform data by Twitter - twitter

I'm working on my senior project which has some data and I need to send it by twitter.
How to send this data by twitter dynamically?
Is it need a server or not?
Thanks

You can send it by Twitter API, by POST statuses/update service. Instead of dealing with Twitter API directly, you can use some library instead, depending on the language you're using (here' a nice one for Ruby. You don't need server.

Related

linkedin fetching details in asp.net MVC

Out of the two methods of : JS API and OAUTH ,can anyone suggests which one is more reliable and should be used?
I want user to come on my application and from there I want them to login in LinkedIn from where all his personal data will be fetched and shown in my application . I have done this with JS API but still confused b/w the two.
Thanks,
Both are same if you want to use JS API then you may include js code in your code otherwise you can use OAUTH, Both methods are fetching same fields.
If you want to use JS API you can refer these links-
http://www.aspdotnet-suresh.com/2013/05/get-linkedin-logged-in-user.html
for OAUTH - http://mvcrocksonasp.net/OAuthWithMVC4
get code from these links.

How do I use external auth via MVC API from iOS?

Background: I'm trying to use social oath providers to sign up and sign in on an iOS app. I believe MVC's API is the right way of doing this, but I have a few holes.
The MVC API has a GET /Account/ExternalLogin API call that returns valid external login providers, (often social) login options.
How should I use this from iOS?
Additional parts to this question:
I'm not familiar with the x-auth-token header but I think I'll need to use this in combination with the JSON payload itself. How do I use this?
Buried in the payload is a double encoded URL that I can use with something like GTM oAuth. Is this something I need to decode twice before I use it?
GTM oAuth library looks like a candidate library to use to help out.
Is ExternalLogins the right place to start? If I try and login from the app then the app needs to know client secrets and the like. Shouldn't these be managed safely in the API?
I'm happy to refine this question if it's not up to scratch before you reject it.
Thanks!

doubts about foursquare API

My question is not about FourSquare API and its functions, but about more simpler details that are not well explained on Foursquare API explanations. Thank you very much in advance if someone wants to help me with this doubts:
Foursquare API is a framework you can use to build applications for mobile devices, above of IOS and Android, so i can imagine that they have API for IOS (Objective-C) and Android (Java), right?
From API Doc: "Be sure to note that although API requests are against api.foursquare.com, OAuth token and authorization requests are against foursquare.com.". Does it mean that if i want to use FourSquare app, the users has to have an account on FourSquare?
From API Doc: "For example, if you write an iPhone application, every user who logs in with their foursquare account will be able to make up to 500 users/* requests and up to 500 venues/* requests, etc." I dont understand this sentence. Does it mean that for example, if you use an API method request like "checkins.add()", this method create two methods? one against api.foursquare.com to monitor the API limit requests, and another to your Web Application Server?
So as a question related to the third one, where do you have to store your database? is it stored on Foursquare cloud database because you are loggin there, or you have to create your own Web Service application with its own SQL database?
From API Doc: "All requests are simple GET or POST requests that return JSON or JSONP respones", so i can imagine that the Web Application Service should understand JSON. Well, my main question is, can i use Ruby on Rails to build the Web Application Service and Web Page frontend? I am seeing that there are some wrapps for RoR designed from third companies, but are not official and doesnt cover all the 2.0 API, just the ones they needed for their services.
If i want to create an app using FourSquare API, what do you advice me to use as a programming language/framework for the Web Service Application? the WSA that has to process the JSON requests and later store them on the database, interaction with users on the WebPage, etc.
i am so sorry if my questions are so simple, but i dont have any other place of this level of expertise.
thank you very very much in advance.
The API is REST/JSON based, which means that any language that can do an HTTP request and parse a string can be used. There are Java and iOS libraries available. But you could use just about anything - curl with bash would be a bit extreme but if that floats your boat...
For some of the APIs (search a venue, for example) you do not necessarily need a FourSquar OAuth user token. For others (like checkin) a FourSquare token is required. For any API calls that require a userid, your users will have to be FourSquare users and "trust" your application with their FourSquare data.
Only requests to FourSquare is counted. So if you do a single call to checkins.add() it counts as one call for the user that is doing the checkin. I wouldn't worry about the limits. As long as you're usage of the API is sensible they will not be a problem. And if they do become a problem and you're doing something extraordinarily cool, the folks at FourSquare might be sympathetic.
You have to create your own web server with your own database to store some information. The OAuth token is one. You probably want to cache venue information here for short periods as well.
Yes, your webapp will need to be able to understand JSON. Ruby has excellent JSON support - look for the json gem.
It is really difficult to suggest a language or framework without knowing what it is that you're trying to do. I wouldn't choose a framework based on the fact that you want to use FourSquare (anything will do) but rather on your experience and the unique features of your application. You mentioned RoR before - that would definitely work.

Rails and Facebook connect API (graph).

I am developing in Rails 3 and I need to use the Facebook connect API (Graph).
I am currently trying out the Javascript SDK and it works fine. The problem is I do not know how to "save" and interact with the information I extract in Rails.
The best thing would be to use some "native" Rails plugin for Facebook. I have looked a bit on the Facebooker Plugin but I do not know how to get started and use it.
Does anyone know how to interact with the Facebook API with Rails 3?
You would need to integrate some kind of server-side logic. For instance, you could use your own JS to call FB's JS and then AJAX submit the data received back from FB to your server for persistence.
Then, you could use something like koala to make server side calls later to the OpenGraph API.
Facebook Graph API is HTTP based, so it works with any language that has an HTTP library, such as cURL, urllib. Just call appropriate url with appropriate data and you will get you data as JSON object.You can use facebook explorer tool for sandbox testing of your api. For rails koala gem just makes it easy to call API and extract info from response.

Twitter Api for .NETApplications

Can any one suggest me to best C# twitter api for developing application with twitter api?. I want all the advance functionality of twitter in my application.
Twitterizer
Twitterizer is a .NET class library that provides an easy-to-use interface for the Twitter web api. It is written for developers. It's features are easy to discover and follow a consistent design pattern. http://www.twitterizer.net
LINQ to Twitter, if your app is LINQ-enabled.
"LINQ to Twitter is a LINQ Provider for the Twitter micro-blogging service. It uses standard LINQ syntax for queries and includes method calls for changes via the Twitter API."
I haven't used this myself, just found it when browsing and passing it on. It's interesting that if you search with the #linqtotwitter hashtag, you can see all the test tweets, which all start with "Ç".
Kindly follow the below link to get latest API for Twitter
Latest Twitter API
May I humbly suggest TweetSharp. It has full support for the API including the Search API and updates are released as soon as possible to address changes in the twitter API. (for instance, it already supports the upcoming GeoLocation APIs).
It's open source (MIT license), so you can use it free for pretty much anything you want.
Disclosure: I'm a project owner.

Resources