passbe / twitter Goto Github PK
View Code? Open in Web Editor NEWA Symphony extension that allows you to retrieve tweets from a twitter account.
A Symphony extension that allows you to retrieve tweets from a twitter account.
I am getting a EpiTwitterForbiddenException exception when I add the Twitter Timeline data-source to my page.
exception 'EpiTwitterForbiddenException' in /home/mydomain/public_html/extensions/twitter/lib/twitter-async/EpiTwitter.php:264
Stack trace:
#0 /home/mydomain/public_html/extensions/twitter/lib/twitter-async/EpiTwitter.php(226): EpiTwitterException::raise(Object(EpiCurlManager), false)
#1 /home/mydomain/public_html/extensions/twitter/lib/twitter-async/EpiTwitter.php(127): EpiTwitterJson->__get('response')
#2 /home/mydomain/public_html/extensions/twitter/lib/twitter-async/EpiTwitter.php(39): EpiTwitter->request('GET', '/statuses/home_...', Array)
#3 /home/mydomain/public_html/extensions/twitter/lib/data.base.php(149): EpiTwitter->get('/statuses/home_...', Array)
#4 /home/mydomain/public_html/symphony/lib/toolkit/class.frontendpage.php(841): datasourceTwitter_base->grab(Array)
#5 /home/mydomain/public_html/symphony/lib/toolkit/class.frontendpage.php(422): FrontendPage->processDatasources('configuration,f...', Object(XMLElement))
#6 /home/mydomain/public_html/symphony/lib/toolkit/class.frontendpage.php(185): FrontendPage->__buildPage()
#7 /home/mydomain/public_html/symphony/lib/core/class.frontend.php(103): FrontendPage->generate(NULL)
#8 /home/mydomain/public_html/index.php(22): Frontend->display(NULL)
I have configured the website and callback url correctly on my twitter app.
On the preference page on my backend, the OAuth Stutas says Token Found!
What could be the issue here?
Thanks,
I had been using this extensions for over a year, when I suddenly noticed that the twitter widget was broken. Upon further inspection, I found the following issue:
<error>exception 'EpiTwitterForbiddenException' with message '{"errors":[{"message":"SSL is required","code":92}]}' in /path/www/extensions/twitter/lib/twitter-async/EpiTwitter.php:257 Stack trace: #0 /path/www/extensions/twitter/lib/twitter-async/EpiTwitter.php(218): EpiTwitterException::raise(Object(EpiCurlManager), false) #1 /path/oliveandthyme.co.uk/www/extensions/twitter/lib/twitter-async/EpiTwitter.php(119): EpiTwitterJson->__get('response') #2 /path/www/extensions/twitter/lib/twitter-async/EpiTwitter.php(36): EpiTwitter->request('GET', '/statuses/user_…', Array) #3 /path/www/extensions/twitter/lib/data.base.php(149): EpiTwitter->get('/statuses/user_…', Array) #4 /path/www/symphony/lib/toolkit/class.frontendpage.php(825): datasourceTwitter_base->grab(Array) #5 /path/www/symphony/lib/toolkit/class.frontendpage.php(411): FrontendPage->processDatasources('about,media_dom…', Object(XMLElement)) #6 /path/www/symphony/lib/toolkit/class.frontendpage.php(183): FrontendPage->__buildPage() #7 /path/www/symphony/lib/core/class.frontend.php(103): FrontendPage->generate(NULL) #8 /path/www/index.php(25): Frontend->display(NULL) #9 {main}</error>
I followed @samtimalsina's suggestion, and updated the twitter-async library to the current version. Everything works now.
It'd be nice if this extension would be updated, but I'm leaving this here in case it helps anybody else with this issue.
Hello Ben,
Thank you for this handy extension. I was wondering whether it is possible to have the timeline User Tweets data source pull only a single tweet, or a number I specify.
Thank you.
When I enter the key, secret and screen name and save the preferences I get this error.
Wasn't sure where to post this as there is no related discussion on the forum. Thanks!
An error occurred in /srv/www/site.co.uk/public_html/extensions/twitter/lib/twitter-async/EpiOAuth.php around line 432
427 switch($response->code)
428 {
429 case 400:
430 throw new EpiOAuthBadRequestException($message, $response->code);
431 case 401:
432 throw new EpiOAuthUnauthorizedException($message, $response->code);
433 default:
434 throw new EpiOAuthException($message, $response->code);
435 }
436 }
I have a prototype field that will publish a tweet once the entry has been created. More work is needed before I can release this feature.
Twitter Notifier just needed a little updating.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.