How to change the site URL from 'posted XX minutes ago via APPNAME' to something else as the Facebook login url used on my site

StackOverflow https://stackoverflow.com/questions/13745324

Question

My company has a CMS... After logging in they can connect facebook to their CMS account.

If they post to their wall through our CMS something like this appears after their messages:

posted XX minutes ago via APPNAME

Now here it comes: (our case)

When they click on the APPNAME, they are redirected to the login page from our CMS system.

While we want to redirect the user to the promotional site of the CMS, which is on a different domain...

The Facebook app settings are telling me that the

App Domain(s) must be derived from the site URL

example:

we log in on www.xx.nl and our domain for the promotional site is yy.nl

Question:

can we change the redirect from the circled link without changing the 'site that uses facebook login' field in app settings? to redirect to a app page ? or even better directly to our promotional site ?!?!?!

im so confused, trying to get this to work for 2 whole workdays now...

thanks in advance guys!

Était-ce utile?

La solution 2

I've solved it by changing the facebook redirect to something like www.xx.nl/?something=true. The .htaccess is now picking it up and redirecting to the promotional site.

Autres conseils

You can not do much on the Facebook side here, you would have to change your code on your site. Besides the fact that it can confuse users when they login to your site and the URL changes, it is not the best from the Security Aspect either :/

You could still try to fetch the referal code from facebook and redirect all incoming requests from that url to yy.nl.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top