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.

All other Modules /

Discuss all other Modules here.

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

Twitter Authentication issues


Go to End
Reply


2 Posts   584 Views

Avatar
dinResita

Community Member, 3 Posts

14 July 2013 at 9:59pm

Edited: 14/07/2013 10:00pm

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!

Avatar
(deleted)

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:

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

in mysite/_config/config.yml.