I want to do a collage with all my twitter followers.
Is there an automated way to get all the profile pictures of my followers (>10 000), without authenticate with twitter. the followers are public anyways.
You can do that by writing a script that iterates thru your followers' twitter handle names and use Cloudinary's twitter profile access and any of the easy-to-use image transformation features including format conversion, etc.
For example: http://res.cloudinary.com/demo/image/twitter_name/w_100/billclinton.jpg gives you access to:
.
Related
I'm using the YouTube API to create a webpage that allows users to view a specific set of YouTube videos, and then LIKE those videos, using YouTube like/dislike rating system, and It's working fine, but when the user triggers the process, after logging into their google account, they are presented with a permission dialog that basically says
"Hey, this site wants complete and total control over your YouTube account!".
I DO NOT want that, I only want the user to be able to rate the videos.
I'm using the PHP Client library to pull the list of videos into the page and display them, and this requires no permissions or interaction from the user. I am also using the JS library to handle the "like" functionality, and it's basically the javascript example from https://developers.google.com/youtube/v3/docs/videos/rate?apix=true, but with my credentials.
Can I change this somewhere, or does YouTube just lump all of it's permissions under one giant "I can do anything" permission group?
I figured it out. It's about the OAuth 2 scopes, which the example lets you change for the DEMO, but it doesn't actually change the code in the sample.
For reference, the list of scopes is here: https://developers.google.com/identity/protocols/googlescopes#youtubev3
I have a twitter share button on a webpage. I have submitted my website for twitter cards, and it is approved. I am using the twitter card tags correctly, but I have troubles to get the images appear on the time-line. On the twitter timeline I only see text and the URL. Only when clicking on the tweet, an image appears below (the tweet expands).
I would like to have this image appear on the timeline, without needing to expand the tweet. Is this possible, or am is it necessary to use a service like twitpic or flickr to make this happen?
My first thought is that this is not possible because twitter only accepts certain image websites to publish their images on the twitter timeline, but I cannot find a twitter dev source that confirms this.
This is the normal behaviour for the twitter card.
Please read https://dev.twitter.com/cards/troubleshooting#timeline
The second point of the troubleshooting might be the solution you're looking for: "For photos and animated GIFs, upload the media directly with the Tweet or consider using the Twitter API to upload media." You can also explore the other solutions offered.
UPDATE: It looks like the solution I was proposing refers to sharing content directly from twitter, so it's not an option. See this twitter community thread
Is it possible via the new Twitter API (preferably REST API, but I'd be as happy with the Streaming API) to find public tweets from any user containing specific search string and an image (or any other kind of media), without having to later manually filter out tweets without images from the returned data? How can it be done?
Twitter does have an undocumented & unsupported filter:images feature that you can read more about in this question: Get Tweets with Pictures using twitter search api
My app, in one of its parts, should reproduce the same behaviour as a web page, where you can find a section with a table of Twitter posts, I guess they are a user's timeline. I took a look at Twitter api's and I found a call which could return it, but, If I got it right, you are supposed to be authenticated with that user credentials. Is there a way to achieve it without being that user (thus without using that user's credentials)? If not we have to assume that web plugins have more flexibility than queries which return xml, or json? Which kind of approach fits best, considering the app needs to support iOS from 4.3 to 6.x? Does Twitter+Oauth provide more flexibility than direct Twitter api calls?
Hm, if you are looking to just display user's feed you can do it as simple as:
https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=reMakeIn&count=200
Where you change the screen_name to the desired user that you want to show the feeds for.
No need what so ever to use authentication for this.
Not sure if this is what you want to achieve, but I use this approach to show random user's tweet feed.
I'd like to integrate Twitter into my app but keep the tweets specific to the app topic. For example, if the app is about recipes, all tweets on the built in Twitter client will be about recipes. Basically acting like a chat client about recipes.
However, I don't think Twitter works that way. You basically follow someone (say the app's Twitter name) and see tweets from the app's Twitter name. In this case, customers will follow the recipe app and can see its tweets. But I'd also like tweets from any followers to display in the Twitter client but only if they are relevant to the recipe app. In other words, I don't want anything a follower might tweet to appear. Meaning, they need to tweet under the recipe app for the tweet to appear. Maybe I'm confused about how Twitter works and this sort of focused tweeting won't be an issue. Can any one explain if this is possible?
Put a Hash Tag in the users tweets, such as #recipeappname. Then display tweets that only contain that Hash Tag.