开发者

Possible to monitor twitter in my app?

开发者 https://www.devze.com 2023-02-25 06:41 出处:网络
I\'m building an app, where the user can su开发者_C百科bmit their mood (from 0-10), and then i count the sum of all the submitted values.

I'm building an app, where the user can su开发者_C百科bmit their mood (from 0-10), and then i count the sum of all the submitted values.

If i create a twitter account (lets call it @mood).

Can i then build a service, who monitors twitter, so the user can write (in twitter) like "@mood 6"

And i get the value "6" in my application?

I'm using ASP.NET MVC3 with Razor and LINQ 2 SQL.

Thanks in advance.


I suggest you look into the Twitter API and the Developer Center for creating your mood post.

Getting the information should be easy using the feed of the twitter account.


Yes.

Your Twitter application should authenticate as the "@Mood" user several times a day (the frequency depends on how many tweets you expect to be getting.

You would then monitor the "Mentions" timeline (easily done through the Twitter API) to retrieve the messages you describe.

0

精彩评论

暂无评论...
验证码 换一张
取 消