Jump to:

10930 Posts in 2613 Topics by 1810 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: 311 Views
  • dinResita
    Avatar
    Community Member
    3 Posts

    Twitter Authentication issues Link to this post

    Hi,

    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
       (TwitterCallback->consumer_key/secret)

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

    Thanks!

  • simon_w
    Avatar
    Forum Moderator
    471 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:

    TwitterCallback:
    consumer_key: 'my_key'
    consumer_secret: 'my_secret'

    in mysite/_config/config.yml.

    311 Views
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.