Comments (7)
We can retrieve the "entities" for each tweet. Entities are all the non-text content inserted in a tweet (photo, location, Vine, news from magazines...) but, they are not identified, so we can't determine whether a entity is a photo or not... I will still investigating though.
from media-explorer.
If we can get the location, it would be cool if we can add extra pins to the Google Maps box so you can select search results by clicking on those pins
from media-explorer.
Sorry chaps I meant to reply to this ticket. There is a 'media' item in the 'entities' object for each tweet if a tweet contains media such as image or video.
If I recall correctly the issue we had when we originally discussed this was that Twitter doesn't tell you the media type, and it doesn't generate thumbnails for media attached to tweets, so we'd be displaying potentially full-sized images on the screen, scaled down in the browser (this is actually what happens on Twitter.com).
I just had a peek at the API response from Twitter and there is a 'sizes' item in the 'media' array, but it's not clear what this is for. Might need to be cross-checked with the API docs.
from media-explorer.
https://dev.twitter.com/docs/tweet-entities
from media-explorer.
The method of appending a :[size]
to the URL still seems to work, though I can't find documentation for it. Examples in ascending order of size:
- https://pbs.twimg.com/media/BSvSv7FIcAErIqT.jpg:thumb
- https://pbs.twimg.com/media/BSvSv7FIcAErIqT.jpg
- https://pbs.twimg.com/media/BSvSv7FIcAErIqT.jpg:small
- https://pbs.twimg.com/media/BSvSv7FIcAErIqT.jpg:large
from media-explorer.
Regarding the scaling of images, we can use Photon to handle that (and caching there-of)
http://jetpack.me/2013/07/11/photon-and-themes/
from media-explorer.
Moving to future release. I think we need to think about the UI -- where to show the images. The twitter results are already limited to 400px or so wide, and on a large monitor, you get a lot of blank space.
Thinking there's some reorganising we can do; maybe even introduce another side-column (on the right?) where media is previewed. However this is done, we should keep the UX consistent with #7
from media-explorer.
Related Issues (20)
- blue “Insert Tweet” button sometimes disappears HOT 4
- Instagram Integration HOT 2
- Facebook Integration HOT 1
- "Insert Tweet" button sometimes disappears
- Only URL inserted HOT 2
- Better documentation for setup HOT 5
- Make service authentication an easier process. HOT 1
- WP 4.0: "edit" inserted object = Insert from URL
- YouTube and Instagram services are not working
- Add Upload tab
- mexp_ajax_request_args filter doesn't work
- Open up the "Wiki" tab on GitHub
- How to include MEXP into Featured Image and ACF Image Fields
- Search By User Creates Infinite Loop
- Abandoned? HOT 2
- Gutenberg integration HOT 2
- Instagram and youtube ?
- Wordpress 5.0 support
- Instagram API no longer valid
- Deprecation Warning Thrown on PHP8.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from media-explorer.