Question

I'm trying to load a Twitter hashtag feed (e.g. http://www.twitter.com/#technology) in a UIWebView. But I just get re-directed to the Twitter login page. When I try the same on Chrome or Safari, I get similarly directed to the login page, but then it quickly redirects to the hashtag feed.

Is there any way to ensure my UIWebView redirects the same way, so I can show the hashtag feed page?

Was it helpful?

Solution

Try using the specific mobile view. This should prevent Twitter from trying to redirect you to log in.

https://mobile.twitter.com/search/%23hashtag

OTHER TIPS

Why not just create the feed yourself? You can post a request to twitter's JSON search and post the values in your own way without requiring a UIWebView.

The link is http://search.twitter.com/search.json? and the search parameter is q, so http://search.twitter.com/search.json?q=%23hashtag will search for '#hashtag'.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top