OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff6563
)
Mobypictureのサムネイル展開に使うプロパティ名をog:imageに限定
author
spx
<spx268@gmail.com>
Wed, 22 Jul 2015 14:39:02 +0000
(23:39 +0900)
committer
spx
<spx268@gmail.com>
Wed, 22 Jul 2015 14:39:02 +0000
(23:39 +0900)
b1fec85の修正
OpenTween/Thumbnail/ThumbnailGenerator.cs
patch
|
blob
|
history
diff --git
a/OpenTween/Thumbnail/ThumbnailGenerator.cs
b/OpenTween/Thumbnail/ThumbnailGenerator.cs
index
7dbe186
..
1ca2066
100644
(file)
--- a/
OpenTween/Thumbnail/ThumbnailGenerator.cs
+++ b/
OpenTween/Thumbnail/ThumbnailGenerator.cs
@@
-100,7
+100,9
@@
namespace OpenTween.Thumbnail
"http://api.plixi.com/api/tpapi.svc/imagefromurl?size=big&url=${0}"),
// MobyPicture
- new MetaThumbnailService(@"^https?://(?:www\.)?mobypicture.com/user/\w+/view/\d+$"),
+ new MetaThumbnailService(
+ @"^https?://(?:www\.)?mobypicture.com/user/\w+/view/\d+$",
+ new string[] { "og:image" }), // twitter:imageは403が返って取得できない
// 携帯百景
new SimpleThumbnailService(