Giter Club home page Giter Club logo

grav-plugin-social-feed's People

Contributors

moduleon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grav-plugin-social-feed's Issues

Plugin is only showing three posts

Hi there!

I'm using your plugin for the first time, so apologies if I misunderstood something. But it seems that regardless of my number of connected accounts, or the limit I set in my query, only three social media posts are returned.

{"total":3,"limit":50,"page":1,"posts":[{"provider":"twitter","postId":"

I believe I executed all the steps, and I am running this on a localhost using MAMP. Here is how I called the code:

{% set postData = socialPosts() %} <ul> {% for post in postData.posts %} <li>{{ post.body }}</li> {% endfor %} </ul>

thanks for your help!

Unable to Fetch new Posts

Hi

If i try to fetch posts on terminal I get the Error "Access to undeclared static property"
Someone else get this error?

But I only have the problem with PHP 7.1 and 7.2 (7.3 not tested).
If I try with PHP 7.0 (with an older grav CMS) the fetch works.
But the latest version of grav CMS does not work with PHP 7.0

I think the problem arise because of using self::

Can someone help?

Full Error:

PHP Fatal error:  Uncaught Error: Access to undeclared static property: Grav\Plugin\Console\SocialFeedCommand::$grav in .../user/plugins/social-feed/cli/SocialFeedCommand.php:21
Stack trace:
#0 .../bin/plugin(146): Grav\Plugin\Console\SocialFeedCommand->__construct()
#1 {main}
  thrown in .../user/plugins/social-feed/cli/SocialFeedCommand.php on line 21

Some twitter images not loading

Hi,

There's a problem with some Tweets not returning images. I've checked in the json return as well.
Probably because the tweed_mode needs to be set to extended. If you add tweet_mode=extended to the json url as a test, every object contains the entities media_url, but if the extended mode is not active, some objects don't have it.

Any idea how we can activate extended mode for tweets?

Confused

Hi,

I am confused on the setup. I have an .md file for the social feed. Are we supposed to create an equivalent social feed twig file?

Where does this sample code go?

{% set postData = socialPosts() %}

    {% for post in postData.posts %}
  • {{ post.body }}
  • {% endfor %}

Fresh install- not working.

I've added the composer dependencies etc.
However I get this warning from composer:

Package facebook/php-sdk-v4 is abandoned, you should avoid using it. Use facebook/graph-sdk instead.

Also, I've set up a page, as Twig (not markdown), with the following code:

{% set postData = socialPosts() %}
    <ul>
        {% for post in postData.posts %}
        <li>{{ post.body }}</li>
        {% endfor %}
    </ul>

Already got my FB API and key set up in the plugin.

I get a blank page, see: example page

What am I missing?

Does not work with current Grav version?

Hi,
I get the following error when the plugin is enabled. It does not matter if I enter anything in the plugin fields. Empty and filled with correct values, I get:

Error
Class 'Grav\Plugin\SocialFeed\Twig\PostExtension' not found

Undefined index: data

Hi, I have add my app ID, my secret key and User ID.
It is required other ?

root@satellite-A100:/var/www/html/grav# bin/plugin social-feed fetch:posts
PHP Notice:  Undefined index: data in /var/www/html/grav/user/plugins/social-feed/src/Api/FacebookApi.php on line 43
PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/grav/user/plugins/social-feed/src/Api/SocialApi.php on line 49

Thanks

Deleted posts still show up in feed

Not sure if this is a feature or a bug - it seems like although new posts show up in the feed, if those posts are later deleted the feed doesn't remove it from the list. Any more info you can give on this?

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.