erikvanberkum Posted October 8, 2017 Posted October 8, 2017 I have it running fine on 3.0.62 check link here 1
ridgedale Posted October 8, 2017 Posted October 8, 2017 Thanks for the confirmation, Erik. Much apprciated.
SiWhitt Posted November 21, 2017 Posted November 21, 2017 @jean-luc I've installed your fork of the module but am having a couple of issues with getting it to display correctly. Using the Specifying options example: I can't get images from Twitter to display. If I try Or you can iterate the feed rather to generate your own markup... I get an error – Error: Exception: Method MarkupTwitterFeed::renderItem does not exist or is not callable in this context (line 519).
SiWhitt Posted November 23, 2017 Posted November 23, 2017 After a bit of further work, I'm now getting a parse error – Parse Error: syntax error, unexpected '[', expecting ')' (line 284 of /var/www/xxxxxx/site/modules/MarkupTwitterFeed/MarkupTwitterFeed.module) The line in question is – $linkHtml = str_replace(['{href}', '{url}'], [wire('sanitizer')->entities($u['expanded_url']), $u['display_url']], $options['listItemLink']);
jean-luc Posted November 24, 2017 Posted November 24, 2017 On 23/11/2017 at 1:46 PM, houseofdeadleg said: After a bit of further work, I'm now getting a parse error – Parse Error: syntax error, unexpected '[', expecting ')' (line 284 of /var/www/xxxxxx/site/modules/MarkupTwitterFeed/MarkupTwitterFeed.module) The line in question is – $linkHtml = str_replace(['{href}', '{url}'], [wire('sanitizer')->entities($u['expanded_url']), $u['display_url']], $options['listItemLink']); @houseofdeadleg So far, no idea of what could be wrong. Can you open an issue in https://github.com/jlj/MarkupTwitterFeed/issues, so we can investigate it further without adding too many message to this topic? (Please describe your configuration (version of PW, of php, …) and include a fragment of the template code in your site that shows the problem)
cjx2240 Posted January 19, 2018 Posted January 19, 2018 What's causing all my tweets to get truncated? $tweet[text] is trimmed at a set length and then outputs a link to the rest. Edit: The reason for this was that you need to request with tweet_mode => extended to get the new character limit from twitter. I was having a few other issues with this seemingly abandoned module and I needed this quickly so I ended up using another twitteroauth script instead and making my own. I assume to edit this into the module you'd add $params['tweed_mode'] = 'extended'; In MarkupTwitterFeed.module before the request on line 143, but I haven't tried it.
opalepatrick Posted May 16, 2023 Posted May 16, 2023 Using php 8.1 and getting the usual errors for 8.1 PHP message: PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /httpdocs/site/modules/MarkupTwitterFeed/tmhOAuth/tmhOAuth.php on line 545
cb2004 Posted September 8, 2023 Posted September 8, 2023 This module no longer works as it uses v1.1 of the API which is deprecated.
millipedia Posted September 20, 2023 Posted September 20, 2023 Has anyone managed to update this module to use an updated API version? I've done my very best to persuade users that now is the time to ditch Twitter but I've still got a few clients holding out ....
cb2004 Posted September 23, 2023 Posted September 23, 2023 I just told my clients that they have started charging to use the api and luckily they are none the wiser. Still you can only retrieve a small amount of tweets on the free tier of the api.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now