Remove "powered by Smugmug" when posting URL to Facebook?
margems
Registered Users Posts: 8 Big grins
Is there a way to do this? I removed "powered by Smugmug" from the footer using code I found online. Even when this line isn't in the footer, it still appears when I post the link to Facebook. (Note: I really don't mind the line being in the footer; I do mind when it appears large in a posting to Facebook.) Thanks.
0
Comments
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
I copy the URL and paste it into the Facebook message.
Do you have a CSS-field placed on "Entire Page" level with the following code: to remove the text or did you use another code / this code on another level?
If you used it on another level - say "All Galleries" - than adding a CSS-field on the level "Entire Page" with this code should fix it.
Or could you give me a link to your website here so that I could try for myself what happens if I posted a link from your page to FB?
Good luck
Lille Ulven
I placed the code on the "Entire Page" level, though a different code than what you posted above. I actually tried two different codes I found online. Both worked in removing the line from the website, but didn't remove the line when posting to FB.
I tried to post another page from my website (a gallery page), and this line appeared instead, "This gallery hosted by SmugMug; your photos look better here."
I actually already posted my link to FB, but removed the preview and added a photo. I wanted to post it today.
http://photo.mpolitzer.com/
Thanks,
Margie
It looks like you will need to set your site description. You can do this in your account settings here:
https://secure.smugmug.com/settings/#section=search
Then you can debug on facebook and scrape the new info by entering your link once here:
https://developers.facebook.com/tools/debug/
Click Fetch New Scrape Info to get your updates to show up.
I took the liberty to look at your page with Firefoxes webpage development tools.
I could find two CSS boxes which I think you have added. These contain the following lines of code:
and
Well the first one contains some more code, but I think the other lines should do their job.
For the first box I wonder if the in the beginning of the first line shown here is doing you any good. (It might, I am not that experienced in CSS)
But what I can see from all your lines: the ";" to end a command line is missing.
So I think that if you replaced those lines with the following:
(I added some comments within the /* */ to show what I have changed in the code as it might be else hard to spot
It should/could work to post directly to Facebook without getting the smugmug-text included.
Good luck
Lille Ulven
The content posted to facebook that is showing on your facebook feed in not impated by the CSS on your site. While the CSS will control the SmugMug site once you go there, it will not control the text shown in the post on facebook. To remedy this, be sure you have the Site Title and Site Description filled out so the default information does not show on your facebook post. The same applies if you post a link to a page, folder, gallery or photo, fill out the title, caption or description otherwise the default info will show.
If you have tried to post before these changes were made, facebook likely cached this data, you will need to use the facebook debug link and scrape for the new data on your site so the post does not show the old data.
Again, the CSS on your SmugMug Site, does not affect what is posted in your Feed on Facebook.
Mechanic thank you for this information. As far as I can tell, it's not fixing the problem for me.
I have cleared history on all browsers.
I have always had a site title and site description.
On this gallery, I did not have a description, so I added one. (Then cleared all the cookies.)
Yes, using the FB debugger site, I still see the SM reference. Am I missing something about what I can do to fix this? Thanks.
https://secure.smugmug.com/settings/#section=search
"JoinRats - Pet Rats , Trust Training, Socialization, Enrichment, Introductions, Rat Health, and More"
[minus quotes]
Awesome - I was 100% sure you were a Smugmug Hero. I can see why you have to advertise that you aren't one in order to keep people straight on that subject.
SM help did clear the cache and that fixed the link posting. You know? I've asked about this in a few other random threads over time, and always I was only confused by the answers. Dead-ends. I'm so glad this issue could come up here in case other folks face similar confusing behavior that they can't even wrap their minds around.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Would you be able to send me a link to the gallery that you're having the problem with? I tried 3 of yours and they all display the Gallery name and "margiepolitzer". I don't see the Powered by SmugMug anywhere .
If you want to change the "<gallery name> - margiepolitzer" Click on the icon of a person in the top-right, and choose Profile and change your profile and site name.
Although I have special access to SmugMug sites, it won't change what Facebook pulls from the page. We both should be feeding it the same link and it then scrapes the information.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
It may only be the first gallery; I didn't check them all: http://photo.mpolitzer.com/Nicaragua1/
I emptied the cache (in both Firefox and Safari), and debugged also.
I just tested it for your page on my Facebook account.
Turns out: it is the Nicaragua1 gallery (OK, the only other one that I tested was Nicaragua-2) which seems to get the "hosted by smugmug" - but here is the good news: it only comes up in the post-preview as soon as you hit the post-button your page looks like this on Facebook:
without the smugmug-hint.
(This at least if I hit the "only for me" setting in visibility on Facebook).
Hope that helps
Lille Ulven
I wish that line wasn't there though, even if only I see it.
I believe that just after you hit the "post" button that line will disappear from your window as well. That is what happened when I posted that link of yours.
Maybe Facebook has some sort of cache of its own and when you post a link (or for that matter re-post a link) it takes the data from that cache until you hit the post-button, when it is updated with the actual content.
It is worth a try - and if true, than over short or long Facebook should refresh its own caches and you won't have that problem anymore (unless you delete your descriptions / set up new galleries without and the game starts over again).
Good luck
Lille Ulven
Film/TV Stills Photography
"When your work speaks for itself, don't interrupt." ~ Henry J. Kaiser
Thank you for this link! I have just started posting directly from SmugMug to facebook and found a typo in the description but couldn't "find it" to change it. The Homepage Meta Description was the answer. Thanks again!
My SmugMug Galleries