Changes for a successful facebook review
I had two facebook reviews in the past days Removing the display type and adding a explicit 'Share to' provider tag did the trick Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
This commit is contained in:
parent
0cbb1233aa
commit
267d91bf66
3 changed files with 3 additions and 2 deletions
|
|
@ -12,9 +12,10 @@ module PublisherHelper
|
|||
end
|
||||
|
||||
def service_button(service)
|
||||
share_to = I18n.t "services.index.share_to"
|
||||
content_tag :div,
|
||||
class: "btn btn-link service_icon dim",
|
||||
title: "#{service.provider.titleize} (#{service.nickname})",
|
||||
title: "#{share_to} #{service.provider.titleize} (#{service.nickname})",
|
||||
id: "#{service.provider}",
|
||||
maxchar: "#{service.class::MAX_CHARACTERS}",
|
||||
data: {toggle: "tooltip", placement: "bottom"} do
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
|||
|
||||
if AppConfig.services.facebook.enable?
|
||||
provider :facebook, AppConfig.services.facebook.app_id, AppConfig.services.facebook.secret, {
|
||||
display: "popup",
|
||||
scope: "public_profile,publish_actions",
|
||||
client_options: {
|
||||
ssl: {
|
||||
|
|
|
|||
|
|
@ -1171,6 +1171,7 @@ en:
|
|||
really_disconnect: "Disconnect %{service}?"
|
||||
edit_services: "Edit services"
|
||||
services_explanation: "Connecting to third-party sharing services gives you the ability to publish your posts to them as you write them in diaspora*."
|
||||
share_to: "Share to"
|
||||
create:
|
||||
success: "Authentication successful."
|
||||
failure: "Authentication failed."
|
||||
|
|
|
|||
Loading…
Reference in a new issue