Problem/motivation
With url_embed installed, the site Status page will have the warning "Missing Facebook app credentials". If we are using other providers but do not want to use Facebook, we should be able to disable the warning.
Steps to reproduce
Visit admin/reports/status, observe Warnings section.
Proposed resolution
Allow option to disable Facebook embed and along with that, the warning.
Issue fork url_embed-3487570
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mark_fullmerAs a maintainer, I agree that this suggestion makes a lot of sense. Perhaps the best thing to do is to move that warning to the URL Embed configuration section, instead of the generic site warnings.
Comment #3
liam morlandThat makes sense to me. If a site builder sees that Facebook embeds do not work, they might visit the
url_embedconfig page to find out why and see the warning there but the warning does not appear on the main status page.Comment #4
gaurav gupta commentedComment #6
gaurav gupta commentedComment #7
liam morlandI think it would make sense that if
facebook_app_idorfacebook_app_secretare provided that theurl_embed_debug_facebook_access_token()check still runs. In other words, no warning if they are not configured but if they are there, they must be valid. Other than that, reading the code, it looks good.Comment #9
mark_fullmerComment #10
mark_fullmer