Twitter feeds from User BlackBerry 10 - twitter

How to get Twitter feeds from User and place them in List?

Check out the twittertimeline example on github, which shows how to do this using the Native Cascades API in C++ and QML:
http://blackberry.github.com/Cascades-Samples/twittertimeline.html (detailed walkthrough)
https://github.com/blackberry/Cascades-Samples/tree/master/twittertimeline (repository)
It shows exactly how to use the JSON api to retrieve the tweets of a user, load them into a datamodel and display them using either standard or custom list elements.
Note: It uses the older twitter 1.0 REST API.

Related

How to embed a Twitter Timeline filtered by a hash tag

I am trying to create a twitter timeline which includes tweets related to a specific hashtag.
Then I need to embed it to a website.
I tried https://tweetdeck.twitter.com/ but it informs me to go https://publish.twitter.com/
But it doesn't provide support to do the embed.
How can I proceed?
There's no support for embedded search timelines any more (as of July 2018). You'll need to build something that searches the API for the Tweets you want to include, and then use the oembed API to display the Tweets in your webpage.

Get only tweets with Pictures using twitter search api

This question has already been asked there : Get Tweets with Pictures using twitter search api
But it's obsolete now : the new Twitter API doesn't allow the answer provided.
In a nutshell : I'm trying, in Ajax, to retrieve tweets with a particular hashtag that contains a media (image).
It rather depends on the source of the images that you want to find. You are best of searching for the URL of the image directly.
If you're looking for images uploaded directly to Twitter with the hashtag "#nice", do a search for twimg%20%26%20%23nice (that's "twimg & #nice").
You could also include flickr or any other image sharing service.

How do you get the next page of twitter results using the Twitter OAuth API?

I am using the twitter oath API and I get the first page of results for my search query. But I want to get all pages, so how do I iterate using the API to get the next page?
Twitter has been removing support for pagination from their API, in favor of query params that specify search bounds. Here's the relevant snippet from their blog:
"All methods currently supporting cursoring or usage of since_id and max_id will remove support for "classic" pagination through the "page" parameters. See Working with Timelines for more information."
Source: https://dev.twitter.com/blog/api-housekeeping

Is there a website that will allow me to filter tweets from my Twitter feed?

I need to approve/reject tweets from my Twitter feed, and display on our website. Any websites out there that will provide this functionality?
I've looked into TidyTweet.com, but I can't tell if they support the kind of "feed" we have (it's actually a json search, not an RSS feed).
For example, this is our "feed":
http://search.twitter.com/search.json?q=Downtown+Chicago
Twitterfeed already provides an interface for that. Click on edit->advanced you should see filter tweets.
Another alternative is filtering from the feed itself, you can do this from Yahoo Pipes

How to add Twitter Expanded Tweets? (was: twitter media preview card for my site?)

I googled a lot about how to make twitter media preview for my website entities if they are linked in a tweet like images below:
Any idea where can I find some documentation about it? Or a tutorial? Is this possible or these media/site previews are hardcoded in twitter?
EDIT:
so, what I need:
If someone links my site on twitter, my widget appear under the tweet, like below:
UPDATE 2012-06-13
It appears this is an Expanded Tweet - -what the requirements are to integrate these expansions into Twitter are do not appear to be displayed - but this sure is interesting.
Nope your in luck. They're not hardcoded into Twitter, they're available in the JSON response. You actually have in your post the word you need to google for entities.
You can add include_entities=1 to the end of most REST api calls and it will give you expanded information about the URL's contained within the JSON. It will split out all the URL's where you can parse out the Youtube links for example. The JSON also includes a special media_url entity but it only works for pictures. In any case, you can still parse out the media easily like youtube with a regex match because you get the URL's split out nicely with this include_entities=1 parameter.
example call :
http://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitterapi&include_entities=1
more documentation : https://dev.twitter.com/docs/tweet-entities
answer edited below based on clarification:
Editing Twitter itself with previews is impossible and it's also ineffective. 75% of traffic to Twitter happens outside of Twitter.com. However the most probable solution to achieving this request would be to download a browser extension.
This extension for example enbales previews of webpages directly in the users stream content preview pane on Twitter.com
https://chrome.google.com/webstore/detail/oijgblonhcagdhfbgjilnpjipmijimmn

Resources