Git Product home page Git Product logo

twitter-plugin's People

Contributors

acasar avatar alekseybobkov avatar daftspunk avatar gergo85 avatar grafxflow avatar jonpxpx avatar mohsin avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

twitter-plugin's Issues

Twitter plugin exceptions in OctoberCMS build 337

After updating a project that was using the Twitter plugin, I get the following error on the front end:

Class 'HTML' not found

image

I also get this error in the CMS when trying to inspect the component:

"The component 'RainLab\Twitter\Components\EmbedTimeline' does not contain a method 'getLangOptions'." on line 278 of /home/vagrant/sites/test/www/modules/cms/Classes/ComponentBase.php

image

I have build 337 of OctoberCMS and version 1.0.3 of the Twitter plugin. Everything is up to date according to the dashboard.

I haven't been able to find yet where the mysterious HTML class went but I assume the code was refactored and this wasn't updated yet. For the getLangOptions error, is that related to the recent multi-lingual updates that have been done?

I know this is a relatively simple plugin and it would be great if someone has a quick fix. Unfortunately I don't have much time right now to look into it with a deadline looming...

Thanks!

Unable to display a single tweet

Due to values being switched to boolean if 1 or 0, tweet-limit doesn't allow you to set it to 1 and therefore returns all.

This isn't the most elegant way of fixing this, but I added

if($key != 'tweet-limit')

within

switch ($value) {
        case '1':
                if($key != 'tweet-limit')
                $value = 'true';
            break;
        case '0':
            $value = 'false';
            break;
        default:
            $value = $value;
            break;
}

To fix the issue.

Error when setting component params

"The component 'RainLab\Twitter\Components\FollowButton' does not contain a method 'getLangOptions'." on line 278 of /var/www/modules/cms/classes/ComponentBase.php

Build 384

Two Exceptions Occuring with EmbedTimeline component

In Components\EmbedTimeline.php...

  1. Line 113, function getLangOptions() needs to be public, not protected.

  2. Lines 4 & 152, OctoberCMS case-sensitive alias for October\Rain\Support\Facades\Html class is "Html", not "HTML".

embedTweet.php throws exception

Undefined property: stdClass::$html

protected function loadTweetContent()
{
    $json = json_decode(Http::get('https://api.twitter.com/1/statuses/oembed.json', function($http){
        $http->data($this->getProperties());
    })->body);

    return $json->html;
}

}

Embedded timelines widget ID info box

So you can't find any widget ID in your twitter account settings page.

"Widgets
Embedded timelines can no longer be managed through account settings on twitter.com. Going forward, you must configure your embeds on publish.twitter.com."

Twitter plugin fails when cache set to database

Once you set the following config the plugin no longer works.

` /*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used while
| using this caching library. This connection is used when another is
| not explicitly specified when executing a given caching function.
|
*/

'default' => 'database',`

Twitter Has Changed Their Widget Generation Process - Can No Longer Find Widget ID

Not really your issue per se, though Twitter's recent updates do somewhat kneecap your component functionality. An embedded timeline I set up on a site a little over a week ago (when I could still get the Widget ID) is still functioning, but can't really move forward with no way to acquire that ID for a new embedded timeline...

More documentation about how to use in octobercms (timeline embedded)

Any example what exactly to add to octobercms page so it will display twitter timeline properly in for example 5 rows (last 5 tweets from some account).
No answer to this guy question as well https://octobercms.com/plugin/rainlab-twitterfeed#reviews

Also link to API here is dead https://github.com/rainlab/twitter-plugin/blob/master/readme.md
See favorites API documentation for the information about available fields.
Please update.
Thanks!

Any plans to add list support?

This is a question rather than an issue. Are there any plans or is it possible to add twitter lists as an option to integrate into the profile?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.