diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-02-23 10:50:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 10:50:56 +0300 |
commit | 9d3cc8f44bd6f90685741eb37f413d3792cce4b9 (patch) | |
tree | 9add661f55a6277f678f4a0126e6fd15d2579cb1 /lib/Service | |
parent | 308ca322c95d295fdeef70a48507a6da8b245fbd (diff) | |
parent | b4b7ad6caa7ad8e3a013aac92faf8a7df9a38f26 (diff) |
Merge pull request #2081 from nextcloud/fix/twitter-uri
adapted twitter uri
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/Social/TwitterProvider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/Social/TwitterProvider.php b/lib/Service/Social/TwitterProvider.php index 9460fb40..fc566aca 100644 --- a/lib/Service/Social/TwitterProvider.php +++ b/lib/Service/Social/TwitterProvider.php @@ -69,9 +69,9 @@ class TwitterProvider implements ISocialProvider { $profileIds = $this->getProfileIds($contact); $urls = []; foreach ($profileIds as $profileId) { - $recipe = 'https://mobile.twitter.com/{socialId}'; + $recipe = 'https://twitter.com/{socialId}'; $connector = str_replace("{socialId}", $profileId, $recipe); - $connector = $this->getFromHtml($connector, '_normal'); + $connector = $this->getFromHtml($connector, 'profile_image'); $urls[] = $connector; } return $urls; |