News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Auto Tweet Embed

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

Previous topic - Next topic

UFT

The attached error log is from the current live site that is using this mod.  Any ideas?
Vision without action is a daydream.  Action without vision is a nightmare.

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

UFT

So I deleted everything on my test site - DB and all.  I did a new/clean install.  The only package I have is Auto Tweet Embed and Responsive Curve.  The tweet-cache.php file permission set to 644.  Tested on SMF Default Theme - Curve, Core Theme, and Startaza themes.  No errors in SMF or server error_log - it still doesn't work.

No other ideas?
Vision without action is a daydream.  Action without vision is a nightmare.

vbgamer45

Try some other twitter urls I want to see if it is just that one or all of them.
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

UFT

Vision without action is a daydream.  Action without vision is a nightmare.

luuuciano

No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

UFT

Thanks but I'm probably going to go with NIBOGO's Auto Media Embedder. 
Vision without action is a daydream.  Action without vision is a nightmare.

UFT

Quote from: UFT on May 17, 2018, 07:30:05 PM
Thanks but I'm probably going to go with NIBOGO's Auto Media Embedder.

I got NIBOGO's Media Embedder - it works perfectly!
Vision without action is a daydream.  Action without vision is a nightmare.

Rob Lightbody

Hello!

This has been working fine for me for months, but now is erroring as follows :-

id=1063476798875418626
Database Error: Incorrect string value: '\xF0\x9F\x9A\xA2\xF0\x9F...' for column 'html' at row 1
File: /home/theqesto/public_html/forum/tweet-cache.php
Line: 94

Any ideas?

Thanks,

- Rob

Arantor

Emojis don't seem to be supported.

vbgamer45

+Added install support for SMF 2.1 RC1
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

natcip

This is a lovely mod. Thank you! :)

Some users on my forum noted that tweets with parameters at the end of the URL can't be processed and it just shows the link.

For example
https://twitter.com/skyferreira/status/1098510248443142144?s=21

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

natcip

Quote from: vbgamer45 on February 21, 2019, 01:17:56 PM
Will check it out.
Thank you! Has this been fixed in the last version? :)

vbgamer45

haven't had time to look
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

ozbob

Heads up.  Auto Twitter Embed 1.0.1 to embed tweets in posts on my forum.  Suddenly stated to have ' long running script ' issues, threads would hang etc.  Uninstalled mod and problem went away.  I suspect something has changed at twitter end to cause the issue.

Bob

MPHV

I'm also having problems with the MOD on my site.

Tweets are no longer shown, it only shows a frame with the text:
Tweet error (does not exist)

If you click the link of the tweet, the tweet ofcourse does exist....

For example:
https://www.hulpverleningsforum.nl/index.php/topic,106215.msg1504797.html#msg1504797 [nofollow]

Any suggestions?



MPHV

I've been debugging a bit myself,

seems it goes wrong in fetching the json from the API,
this returns an error: TCP connection reset by peer

The URL is valid, when i enter it in the browser, i get the json file back.

MPHV

Well i guess i found it....

I ran a test using this code:
Quote<?php
$tweet = 1163869660086861825;
$twitterapi_url = "[url="https://api.twitter.com/1/statuses/oembed.json?id=";"]https://api.twitter.com/1/statuses/oembed.json?id=";[/url]
$twitterapi_url = $twitterapi_url . $tweet;

if (function_exists('curl_init')) {
    $curl = curl_init($twitterapi_url);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($curl,CURLOPT_SSL_VERIFYPEER, FALSE);
    $response = curl_exec($curl);
    var_dump($response);
    curl_close($curl);
}
   ?>

Running it on our production server results in bool(false).
Any other server running the same code results in correct output

Ergo: Did twitter block our server?

vbgamer45

Try this version and see if it helps
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

Advertisement: