News:

Join the Facebook Fan Page.

Main Menu

Auto Tweet Embed

Started by vbgamer45, January 11, 2015, 03:21:09 PM

Previous topic - Next topic

mightygiants

Quote from: vbgamer45 on June 17, 2022, 12:25:50 PMCan you copy that tweet url and post it here will test on my site.

What colation did you change it to in the database and smf version

Here is one that isn't working, but I have this issue with many of the Tweets

https://twitter.com/BobbySkinner_/status/1537803855769088000?s=20&t=EVOiClKrwR5RJFDkGVLx9g


vbgamer45

Do they work if you take off the data from the ? onward?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mightygiants

Quote from: vbgamer45 on June 18, 2022, 11:34:29 AMDo they work if you take off the data from the ? onward?

Yes, that does seem to fix the issue

mightygiants

Quote from: vbgamer45 on June 18, 2022, 11:34:29 AMDo they work if you take off the data from the ? onward?

Any chance there will be a fix for the "?" issue?

vbgamer45

Update!
3.0
+Added support for twitter urls with data after the ? sign thanks to live627
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mightygiants

Quote from: vbgamer45 on June 27, 2022, 12:00:41 PMUpdate!
3.0
+Added support for twitter urls with data after the ? sign thanks to live627


uninstall and then install the new one?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mightygiants

Quote from: vbgamer45 on June 27, 2022, 12:00:41 PMUpdate!
3.0
+Added support for twitter urls with data after the ? sign thanks to live627


Not sure what the problem is, but this link failed

https://twitter.com/art_stapleton/status/1541829801463382016?s=20&t=3fzQK7KQdlejtclBN34nQg

When I removed everything after and including the "?" it worked

I checked my package manager and here is the version:

Auto Twitter Embed   3.0

AllMassive

Maybe this Mod already does this, but it would be nice if the Post would be 'cached' infinitly.

vbgamer45

They are cached forever by default.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

TurtleKicker

Found my way to this mod when I discovered SAVE didn't handle Twitter. Not a biggie.

However, can't seem to get this to work. Don't rule out user-error, but it installs without errors and I don't get errors when loading the page. Simply nothing from Twitter is embedded... I just get the URL.

Link to example:
https://www.turtlekickers.com/index.php?topic=195.msg257#msg257

Other mods installed:

Merge Double Posts
Curve2 Color Changer
SMF 2.1.2 Update
Inter Font for SMF
SMF Trader System
FA Board Icons
ST Shop
TinyPortal
Block Proxy VPN On Registration
SMF Arcade
Quick Spoiler
Global Headers Footers
Battle
Mod Version Checker
Similar Topics
Simple Audio Video Embedder
Stop Forum Spam
FancyBox 4 SMF
Simple Referrals
Topic Rating Bar
Forum Width Setting
Email Obfuscator
Auto Twitter Embed
RSS Feed Icon

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

TurtleKicker

Quote from: vbgamer45 on July 22, 2022, 03:13:26 PMFile permission issue on https://www.turtlekickers.com/tweet-cache.php
needs to be 755

That did it! Thanks (as always... you've been consistently helpful and mind-bogglingly patient with people)

mightygiants

Any update if the issue where links with a "?" will not embed?

Julius_2000

#235
Hello everyone!
I'm new to the forum and I've got some weird issues with this mod.
Currently I'm working on a new theme for the new SMF 2.1 update and sadly having problems with the Tweet auto embed. I uninstalled the old version and deleted the package and then installed version 3.0, the latest one if I'm not mistaken. I use Firefox (add-ons disabled) with the latest updates and also tried other browsers too.

These are the issues I'm having (even before installing version 3.0):

  • Most tweets just won't get fetched at all, nothing happens, no matter if I remove the content starting with "?" or not.
  • Sometimes tweets do get embedded but when they are, they're displayed twice.
  • When I edit a post that had a working embedded Tweet in it, it stops being embedded once I save the edited post. Refreshing the page won't help. You just see the url again.
  • Seems like when I add anything else beyond the Tweet itself in a post, the Tweet won't get embedded.

I went back to the SMF default theme to see whether it's an issue with my customized one but it shows the same behavior.

Here's a tweet I used that worked once and now stopped working for some reason
(edit: SMF tells me I'm not allowed to share external links)
It worked one time, got shown twice and when I edited it and hit "save", it stopped working again. Not even a new, separate reply with the same tweet got embedded.




Has anyone of you encountered similar issues as well?

Julius_2000

Sorry I have to bump this: Does anyone have an idea why this is happening or can reproduce these issues?

vbgamer45

1. If you have a lot of tweets you might be rated limited from twitter.
2. Check that the mod was not installed twice if every post has two of the twitter posts inside it.
3. 4.  Haven't seen yet.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Julius_2000

#238
Thanks, vbGamer, for your quick response.

  • Hm, I don't know about the number of tweets shouldn't be that many.
  • We are currently running a public forum with SMF 2.0.19 and a test forum with the latest 2.1.2 version. On the old forum tweets work as intented, only the test forum won't work. Is there a way for non-hosts (me) to see possible duplicates of mods? In the Admin section, I can only see this mod once.
  • / 4. even happen when I go back to the SMF default theme.


Edit: I uninstalled the mod an re-installed it including checkin this box "Drop table "smf_tweet_cache" and deleteing the package itself. After installation, the tweets that weren't showing before anymore were now shown again. But again, displayed twice and the moment I edit the post the Tweet won't get fetched anymore. All pretty mysterious.

Steve

Quote from: vbgamer45 on September 06, 2022, 09:02:23 AMCheck that the mod was not installed twice if every post has two of the twitter posts inside it.
Quote from: Julius_2000 on September 06, 2022, 10:13:41 AMWe are currently running a public forum with SMF 2.0.19 and a test forum with the latest 2.1.2 version. On the old forum tweets work as intented, only the test forum won't work. Is there a way for non-hosts (me) to see possible duplicates of mods? In the Admin section, I can only see this mod once.
You would have to look at the file edits this mod does and make sure the changes weren't made more than once.
Please do not PM me for support.

Advertisement: