Summary: | choqok twitter no photo preview | ||
---|---|---|---|
Product: | [Applications] choqok | Reporter: | Philippe ROUBACH <philippe.roubach> |
Component: | Assignee: | Daniel Kreuter <daniel.kreuter85> | |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel.kreuter85, fisiu82, gmlastik, kinfoo.dev, mehrdad.momeny, scarpino |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | 1.5 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | 97d7cf75efc93d9ae353685fa71e779de875a4f1 | Version Fixed In: | 1.5 |
Sentry Crash Report: |
Description
Philippe ROUBACH
2012-05-05 10:51:55 UTC
Twitter has no image preview API, or I can't find it :/ i don't understand your answer. what is the utility of the external module "photo preview" in choqok settings ? (In reply to comment #2) > i don't understand your answer. > > what is the utility of the external module "photo preview" in choqok > settings ? We need a API from twitter side, to fetch a thumbnail of images, just like twitpic and other image servers that "photo preview" plugin is doing them! Right now, As I know, images on twitter server are just a URL link in Choqok! And we have no tool (API) to convert them to a link to a thumbnail image to show. I found the API, it was quite hidden :/ We need to get and store Tweet entities https://dev.twitter.com/docs/tweet-entities And by adding ":thumb" text to "media_url" field, we can find the thumbnail of image e.g.: "media_url": "http://p.twimg.com/AQ9JtQsCEAA7dEN.jpg" thumbnail image URL: http://p.twimg.com/AQ9JtQsCEAA7dEN.jpg:thumb ok thanks you did not answer to one of my question. what is the function of the external modules "photo preview" and "video preview" in choqok setrtings ? thanks (In reply to comment #6) > ok thanks > > you did not answer to one of my question. > > what is the function of the external modules "photo preview" and "video > preview" in choqok setrtings ? > > thanks Their job is as you think, getting a preview from videos and photos to show in Choqok, but not everything! right now they support some special services, such as Youtube/Twitpic/... Hi, I will have a look at this. I also updated the version information above, since this is still valid in the current git version. Cheers, Daniel Git commit 3ac39f19dfda65da4c46cae1302edde51961f25c by Daniel Kreuter. Committed on 19/03/2014 at 19:45. Pushed by dkreuter into branch 'master'. Value changed for when to start resizing. M +3 -2 libchoqok/ui/postwidget.cpp http://commits.kde.org/choqok/3ac39f19dfda65da4c46cae1302edde51961f25c Git commit 3e76e36ea47f0cbf1600219e6a03999719799d1b by Daniel Kreuter. Committed on 13/03/2014 at 20:08. Pushed by dkreuter into branch 'master'. Preview of images from Twitter Added preview of images postet via Twitter. M +27 -0 helperlibs/twitterapihelper/twitterapimicroblog.cpp M +4 -0 libchoqok/choqoktypes.h M +3 -2 libchoqok/mediamanager.cpp M +5 -0 libchoqok/mediamanager.h M +56 -12 libchoqok/ui/postwidget.cpp M +8 -0 libchoqok/ui/postwidget.h http://commits.kde.org/choqok/3e76e36ea47f0cbf1600219e6a03999719799d1b Git commit dca7a2846040a3ecb028126d55eae3f81ea6ccdc by Daniel Kreuter. Committed on 15/03/2014 at 16:45. Pushed by dkreuter into branch 'master'. Fixed table of own posts and added resize to image to fit better into gui The layout for the own tweets was broken with my last change. That's working now as expected again. Additionally images will now be scaled down if they are to big to fit in the postwidget when the user resizes the window. M +30 -7 libchoqok/ui/postwidget.cpp http://commits.kde.org/choqok/dca7a2846040a3ecb028126d55eae3f81ea6ccdc Git commit f282e6c5e9cd2c3e05bbd67bde864de313230f58 by Daniel Kreuter. Committed on 19/03/2014 at 19:37. Pushed by dkreuter into branch 'master'. Fixed broken layout of other's tweets M +1 -3 libchoqok/ui/postwidget.cpp http://commits.kde.org/choqok/f282e6c5e9cd2c3e05bbd67bde864de313230f58 thanks for all Git commit 97d7cf75efc93d9ae353685fa71e779de875a4f1 by Daniel Kreuter. Committed on 05/04/2014 at 11:25. Pushed by dkreuter into branch 'master'. Added support for pictures in Twitter posts. Choqok will now be able to display images of tweets if available. http://commits.kde.org/choqok/97d7cf75efc93d9ae353685fa71e779de875a4f1 thanks *** Bug 338409 has been marked as a duplicate of this bug. *** |