{"action":"created","issue":{"url":"https://api.github.com/repos/720kb/angular-socialshare/issues/119","repository_url":"https://api.github.com/repos/720kb/angular-socialshare","labels_url":"https://api.github.com/repos/720kb/angular-socialshare/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/720kb/angular-socialshare/issues/119/comments","events_url":"https://api.github.com/repos/720kb/angular-socialshare/issues/119/events","html_url":"https://github.com/720kb/angular-socialshare/issues/119","id":158652906,"number":119,"title":"ConfigProvider reading only the first object (Twitter works , facebook doesn't)","user":{"login":"vrghost242","id":12150067,"avatar_url":"https://avatars.githubusercontent.com/u/12150067?v=3","gravatar_id":"","url":"https://api.github.com/users/vrghost242","html_url":"https://github.com/vrghost242","followers_url":"https://api.github.com/users/vrghost242/followers","following_url":"https://api.github.com/users/vrghost242/following{/other_user}","gists_url":"https://api.github.com/users/vrghost242/gists{/gist_id}","starred_url":"https://api.github.com/users/vrghost242/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrghost242/subscriptions","organizations_url":"https://api.github.com/users/vrghost242/orgs","repos_url":"https://api.github.com/users/vrghost242/repos","events_url":"https://api.github.com/users/vrghost242/events{/privacy}","received_events_url":"https://api.github.com/users/vrghost242/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/720kb/angular-socialshare/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/720kb/angular-socialshare/labels/Waiting%20Feedback","name":"Waiting Feedback","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-06-06T11:07:22Z","updated_at":"2016-06-09T14:06:04Z","closed_at":"2016-06-09T08:36:56Z","body":"Trying to get this running, and pretty certain I am doing something wrong. I am trying to set global variables, so added the following:\r\n```\r\n.config(['socialshareConfProvider', function configApp(socialshareConfProvider) {\r\n\r\n        socialshareConfProvider.configure([{\r\n            'provider': 'twitter',\r\n            'conf': {\r\n                'url': 'http://unbrand.me/share/twitter',\r\n                'text': 'When you want to stand out',\r\n                'via': 'unbrand_me',\r\n                'hashtags': 'unbrand_me',\r\n                'trigger': 'click',\r\n                'popupHeight': 800,\r\n                'popupWidth' : 400\r\n            }\r\n        },\r\n            {\r\n                'provider': 'facebook',\r\n                'conf': {\r\n                    'url': 'http://unbrand.me/share/fb',\r\n                    'description': 'UnBrand, a place to stand out',\r\n                    'text' : 'When you want to stand out',\r\n                    'via': 'unbrand_me',\r\n                    'source': 'This is source',\r\n                    'caption': 'This is caption',\r\n                    'diplay': 'This is dispaly',\r\n                    'trigger': 'click',\r\n                    'media': 'http://unbrand.me/images/unbrand.ico/ms-icon-310x310.png',\r\n                    'popupHeight': 1300,\r\n                    'popupWidth' : 1000\r\n                }\r\n            }\r\n        ]);\r\n    }])\r\n```\r\nAnd I have two buttons (using md-button, but translates to a href (and they work, or at least open the correct sharing option)\r\n```\r\n                <md-button aria-label=\"Twitter\" href=\"#\" socialshare socialshare-provider=\"twitter\" class=\"md-fab md-raised md-mini\">\r\n                    <ng-md-icon  style=\"fill: black\" icon=\"twitter\"></ng-md-icon>\r\n                </md-button>\r\n                <md-button aria-label=\"Facebook\" href=\"#\" socialshare socialshare-provider=\"facebook\" class=\"md-fab md-raised md-mini\">\r\n                    <ng-md-icon  style=\"fill: black\" icon=\"facebook\"></ng-md-icon>\r\n                </md-button>\r\n```\r\nHowever, Twitter works, picks up the configuration, facebook does not. Any suggestions whats wrong."},"comment":{"url":"https://api.github.com/repos/720kb/angular-socialshare/issues/comments/224905006","html_url":"https://github.com/720kb/angular-socialshare/issues/119#issuecomment-224905006","issue_url":"https://api.github.com/repos/720kb/angular-socialshare/issues/119","id":224905006,"user":{"login":"cobyan","id":8268753,"avatar_url":"https://avatars.githubusercontent.com/u/8268753?v=3","gravatar_id":"","url":"https://api.github.com/users/cobyan","html_url":"https://github.com/cobyan","followers_url":"https://api.github.com/users/cobyan/followers","following_url":"https://api.github.com/users/cobyan/following{/other_user}","gists_url":"https://api.github.com/users/cobyan/gists{/gist_id}","starred_url":"https://api.github.com/users/cobyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobyan/subscriptions","organizations_url":"https://api.github.com/users/cobyan/orgs","repos_url":"https://api.github.com/users/cobyan/repos","events_url":"https://api.github.com/users/cobyan/events{/privacy}","received_events_url":"https://api.github.com/users/cobyan/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T14:06:04Z","updated_at":"2016-06-09T14:06:04Z","body":"https://github.com/720kb/angular-socialshare/issues/119#issuecomment-224815870 \r\nyes, it's working in 2.1.11 Thank you for the fix"}}
{"actor":{"display_login":"cobyan"}}