Jump to:

10998 Posts in 2732 Topics by 1822 members

All other Modules

SilverStripe Forums » All other Modules » Twitter Authentication issues

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 332 Views
  • dinResita
    Community Member
    3 Posts

    Twitter Authentication issues Link to this post


    I have 2 issues with this module (in SS 3.0.4).
    1. I get Fatal error: Access to undeclared static property: MemberProfilePage::$default_editable_member_fields in /localhost/public_html/ss/twitter/_config.php on line 6. Do I have an obsolete MemberProfile Module installed? However I get rid from this message simply commenting line 6.

    2. The more tricky part is the installation advice
    Provide your consumer key/secret using the Config API

    There is nowere a clear explanation about Config API. How exactly do I have to define consumer_key and consumer_secret ?


  • simon_w
    Forum Moderator
    474 Posts

    Re: Twitter Authentication issues Link to this post

    1) That was for an older version of the member profiles, it's fine to remove that line.

    2) Have a look at the configuration docs. Basically, what you want is something like:

    consumer_key: 'my_key'
    consumer_secret: 'my_secret'

    in mysite/_config/config.yml.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.