I'm using Spring.NET Twitter extensions in an application. Instead of querying in a loop for twit updates (pulling), I just want to listen to twits of interest (hashtags, @ mentions, keywords or updates in timeline) and receive push notifications as they come. So I think the way to do it is to use an event model such as Observables, however, I can't find anything in the API to handle this nor any samples to demonstrate it. I would appreciate if anyone can put me in the right direction for this functionality. Thanks.
Twitter push notifications using Spring Social .NET
319 Views Asked by orad At
2
There are 2 best solutions below
0
Lee Campbell
On
Rx will just allow you to expose Push based API nicely. If the API does not support Push then you could use Rx to Fake Push by doing polling but expose it as if it was push (Observable.Interval or Schedulers etc).
You first will need to find how Twitter exposes Push based notifcations. If your Client (Spring.NET Twitter Ext) does not support this you are stuck with polling (via Rx or not).
It appears that you want to look at Twitter Streams API (https://dev.twitter.com/docs/streaming-apis)
Related Questions in TWITTER
- issue with Twitter API :
- Unable to use snscrape
- Unable to like a tweet with using Tweepy and Twitter/X v2 API
- automatic commenting for users on the home page of Twitter
- I have a tweet (X) download that is all code. I'm not a coder and I just want to read the message. Can someone help me do that?
- Web scraping using Selenium (not working)
- Twitter oauth2 link seems correct but not working
- Is logging via selenium blocked by twitter?
- Login with twitter using identity server is not working when using openidconnect
- Apache flume does not run hadoop 3.1.0 Flume 1.11
- How to verify Twitter oauth2.0 access token
- Twitter embedded timeline is showing "Nothing to see here"
- Twitter parsing with Selenium python
- Error in login with twitter function on React Native app
- Nothing is happening after solving FunCaptcha
Related Questions in OBSERVABLECOLLECTION
- MAUI: Issue with deleteing the last item from ObservableCollection
- Remove an item from a continuously updating collection in Net Maui
- How to properly bind an ObservableCollection inside an ObservableCollection to an ItemsControl (WPF)
- Maui windows application Label text not updating in UI
- Arrange CollectionView items consecutively
- Is it possible to bind an Array in a Collectionview with ObservableCollection?
- Is possibile to hide elementis from ObservableCollection? Net MAUI
- CollectionView Re-rodering Indexes after Drag and Drop in Xamarin Forms
- Display order in CollectionView in Xamarin Form
- WPF listbox selection focus between observablecollection and collectionviewsource
- Spring-Data-JPA Observable "findAll"-Results
- MVVM - Keep Selection after .Clear and new Load the ObservableCollection
- When deserializing JSON, How can I configure the concrete type used for properties declared as IList<T> to be ObservableCollection<T>?
- Grouped Observable CollectionView lazy loading does not trigger for iOS
- Adding an Item to ObservableCollection is not updating CollectionView in .NET MAUI app
Related Questions in SYSTEM.REACTIVE
- Is there a way to cancel and replace an observable if it is producing too many values too fast?
- Convert from IObservable<byte> to Stream?
- Integrating Observables into Blazor Fluxor Effects like in Angular
- Rx.Net Window inner observables completing early
- Observable from Func delegate
- How to pull from IObservable
- Rx.NET Buffer with delay problem on quotes aggregation
- How to implement a .Debounce() / .DebounceDistinct() extension methods for observable streams in RXNet (C#)?
- How to wait subscriber to complete before onNext?
- RX operator to scan with prior value, with signal deriving from value itself
- What can cause a BehaviorSubject to report unhanded exceptions of another unrelated observable?
- Processing batched events with RX Observables in Hosted Service
- Rx - Scheduler that only allows n number of parallel operations at a time
- How to create a Stream out of IObservable<byte>?
- Converting Stream to Observable
Related Questions in SPRING.NET
- Spring.NET read Environment Variable from C# script
- Where can I find Spring.NET documentation?
- How to configure xml file for Spring.Net property injection
- How does one implement an attribute-triggered advice in spring?
- how can i pass enum as a property to app.config file in c# with spring.net
- WebApplicationContext.cs not found, System.Web.HttpException: Request not available in this context
- how can implement constructor,property and method injection by codeconfig using spring.net?
- Unit test cases are not executed in Visual Studio with NUnit and Spring
- DbNull always coming back as a return value from SQL Server stored procedure in C# Spring.NET
- Spring Data for NHibernate 5
- Spring net error
- Why use "value" but not "ref" for property value in spring.net config
- Can Spring.NET AOP be used with Unity container?
- How can I set current date in a property of an object in XML v1.0 using Spring-objects?
- Spring.net ContextRegistry.GetContext fails with 2 interface implementations
Related Questions in SPRING-SOCIAL
- Need documentation or API reference to create job posts on Hirist platform
- Spring OAuth2 social login integrated with NUXT 3
- Add query parameters to social login authorisation URI with spring security
- Linkedin Social Action API Related
- What should happen if a user sign up via social login and then tries to register with same mail?
- SignIn / SignUp with Google auth code via REST
- Spring boot REST API handle authorization code GRANT_TYPE
- Springboot social using facebook for authorization
- Get and post data to a page in facebook using spring boot
- Social authentication with (spring boot, Angular 7+)
- Spring Security Oauth oauth2UserService(works on github but doesn't work on google)
- Spring Social After succesfull login redirect problem
- Spring Social Twitter and SSLException
- Attach OAuth2 login to existing users in a Spring Boot application
- Tweet with Spring-Social-Twitter Api inReplyToStatus doesn't work
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Spring Social Twitter only recently started supporting Twitter's streaming API. But that's for Java and your question is about SpringSocial.NET. I doubt that SpringSocial.NET has support for this yet. But I'll ping Bruno (the SpringSocial.NET project lead) and see if he can chime in here.
Until SpringSocial.NET supports Twitter's streaming API, your options are to continue polling (which is non-ideal due to rate limiting concerns) or to implement streaming support on your own. I'm sure Bruno wouldn't mind a pull-request to add streaming support to his project. :)
To be clear, SpringSocial.NET is not the same project as Spring Social and the two projects are only loosely related (in that I know who to email if there's ever a question about SpringSocial.NET).