Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Twitter Authentication issues

Go to End

2 Posts   811 Views


Community Member, 3 Posts

14 July 2013 at 9:59pm

Edited: 14/07/2013 10:00pm


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 ?



Community Member, 473 Posts

15 July 2013 at 11:12am

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.