Use a different link from OG:URL when story is published - object

I'm using a custom action and I'm creating my facebook object on a different page than the page the user is meant to visit when they click the story on their timeline.
Is there any way I can sneak the right URL back in?
EG. To publish story from XYZ website, an object is automatically generated on ABC page for facebook to consume. We want the user to click on their timeline and still visit the XYZ page.

The simplest method is with a meta redirect in your objects meta tags.
<META http-equiv="refresh" content="0;URL=http://XYZwebsite">

Related

Is there a way in which a background video keeps playing when you navigate through a static website?

this website is not using ajax to update sections of the site with content, its a static site and therefore moves from one html page to the other in the classic way.
each page has a video element embedded which plays the same video.
clearly this means each time a user clicks to navigate to a different page, the video will restart.
what approaches can be taken to enable the video to maintain its position no matter which page the user visits ?
I understand each time a user clicks a hyperlink to navigate to a different page, a new http request is performed and there is the request and retrieval of this html page.
I'm curious whether I can achieve what I'm looking for without using AJAX. be interested to hear from you all on this.

Kentico 8.2 Newsletter Link and unsubscribe link

I have created a contact form under Forms with first name, last name, and email that is designed to sign up people for a newsletter. I then created a page so when people click on the link placed on the home page it takes them to a page with the contact form.
Right now when I test the subscribe form out, the data does to to the "back office" where it can be retrieved. However, the information I entered is still in the text fields and, unless you notice the small flash of the web page, one might think nothing happened.
I'd like to know how (or be directed to somewhere in the Kentico 8.2 Documentation) I can make it so that the fields clear and a message appears saying "You have been subscribed to the newsletter." That message can either appear on a separate page on the web site, or send a message to the user email, or both. In the Email Marketing part under the templates there are Subscribe and Unsubscribe templates, but I don't know how to use those.
The other issue is creating an Unsubscribe link. Ideally that will open up to a new page saying "You have been unsubscribed." Kentico 8.2 has an unsubscribe page you can create where the user enters in an email address and then hits the Unsubscribe Request button, but I'd rather not do that. As it stands, I did create a page with that form and tested it, but it doesn't seem to work.
When you edit your form, under general tab, there are settings for what will happen after the form is submitted:
Display Text
Redirect to URL
Clear Form
Continue Editing.
Currently you're using the standard Forms application for something which can be managed through the Newsletter/Email Campaign module. Read the documentation more on how to configure this vs. using the Forms application.
Essentially the steps you will do are:
Create your newsletter following the directions in the linked documentation.
Place a newsletter subscription webpart on your page template and configure it to the newsletter you want them to subscribe to.
Use the out of the box unsubscribe feature to allow users to unsubscribe to your newsletter. No need to add any page to the content tree but you can if you want OR just use the OOTB functionality.
If you follow the documentation you should be able to get it setup properly vs. using an online form.

Error message on website when I did a test run of the "like" button

I added the "like" button to my website, www.nivinlaw.com. I did a "test run," and got an error message that the page failed to provide a valid list of admins. I am listed as the sole admin on my company's Facebook page.
What do I do to stop giving this error to people who "like" my page? Thanks.
You have to place some og meta tags on your page... There is an og:admins tag that you can use...
<meta property="fb:admins" content="USER_ID"/>
Here is some information about using the open graph protocol with facebook.
https://developers.facebook.com/docs/opengraph/

Facebook open graph meta tag: fb-admins

I'm going over Facebook's Open Graph API. All of it seems simple and is explained well except for the fb:admins meta tag. What is this for?
For example:
<meta property="fb:admins" content="USER_ID"/>
Facebook says this: A comma-separated list of either Facebook user IDs or a Facebook Platform application ID that administers this page. It is valid to include both fb:admins and fb:app_id on your page. I'm just not sure what this is.
I guess it is the combination of the ids that is tripping me up.
If you any of the social plugins, fb will look at the fb:admins tag to determine access to admin features directly from your site. For example, if you use the comment box, and you have <meta property="fb:admins" content="USER_ID"/> with your fbid, while logged in, it'll give you access to moderate the comment box. At least, thats my understanding

Facebook Like button that posts to page wall as well?

I have a online shop. On the home page there are products, with a like button. When a person clicks on the button, it goes to their profile and it says that they liked it. However, I also want when the user clicks like, that it is posted to my BUSINESS FACEBOOK PAGE as well.
1. Is this possible?
2. Is this possible using the standard facebook like button?
I am implementing this on a site with Drupal which is using the FBConnect module.
Yes
No
We can't do anything with that standard facebook like button. That's the way it is. However, we can achieve what you want by other means.
Since you're the owner of the business page, you can get the access_token for it, preferably with publish_stream permission. Then you can use edge.create event on the pages with the like button and detect that to publish on your business wall.
Check the links. For the access_token / authentication link, look for "Page Login".

Resources