× Joomla Facebook Connect support forum

Topic-icon Mobile URL

Active Subscriptions:

None
14 years 3 months ago #19239 by coolios
Replied by coolios on topic Mobile URL
I've followed your instructions, if I just use www.facebook.com such as the syntax below it doesn't redirect me to the m.facebook.com.

{JFBCFan width=280 height=75 href=http://facebook.com/facebook show_faces=false stream=false header=false border_color=blue}

If you type www.facebook.com on mobile phone's browser, yes it redirects you to m.facebook.com.
If you use the syntax above (like you suggested ONLY www.facebook.com) it DOES NOT redirect you to m.facebook.com
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19241 by mtk
Replied by mtk on topic Mobile URL

coolios wrote: I've followed your instructions, if I just use www.facebook.com such as the syntax below it doesn't redirect me to the m.facebook.com.

{JFBCFan width=280 height=75 href=http://facebook.com/facebook show_faces=false stream=false header=false border_color=blue}

If you type www.facebook.com on mobile phone's browser, yes it redirects you to m.facebook.com.
If you use the syntax above (like you suggested ONLY www.facebook.com) it DOES NOT redirect you to m.facebook.com

the syntax you are using is strictly for showing the Fan Page, no for actual redirection.
but for your testing, yes, if I access facebook.com/facebook from my mobile browser, I do get redirected to m.facebook.com/facebook and see the FaceBook Fan Page.
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19246 by coolios
Replied by coolios on topic Mobile URL
Yes the syntax does show the fanpage. I'm talking about the link on the fan page. How do I make the link on the fanpage go to m.facebook.com?
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19247 by mtk
Replied by mtk on topic Mobile URL

coolios wrote: Yes the syntax does show the fanpage. I'm talking about the link on the fan page. How do I make the link on the fanpage go to m.facebook.com?

that is what I am trying to explain, you don't have to - facebook will take care of that for you.
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19307 by coolios
Replied by coolios on topic Mobile URL

mtk wrote:

coolios wrote: Yes the syntax does show the fanpage. I'm talking about the link on the fan page. How do I make the link on the fanpage go to m.facebook.com?

that is what I am trying to explain, you don't have to - facebook will take care of that for you.


Ummm it doesn't. Have you even tried this syntax for the fanpage? When you enter this syntax it DOES NOT redirect you to the m.facebook.com page when you click on the links within the fanpage.

Just go ahead and try it on your mobile phone. Add the below code to your site and use your phone to see the results.

{JFBCFan width=280 height=75 href=http://facebook.com/facebook show_faces=false stream=false header=false border_color=blue}

When you say let facebook take care of the redirection that only applies to entering www.facebook.com on the browser, it does not work when you use it with the JFBC syntax.
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19310 by mtk
Replied by mtk on topic Mobile URL

coolios wrote:

mtk wrote:

coolios wrote: Yes the syntax does show the fanpage. I'm talking about the link on the fan page. How do I make the link on the fanpage go to m.facebook.com?

that is what I am trying to explain, you don't have to - facebook will take care of that for you.


Ummm it doesn't. Have you even tried this syntax for the fanpage? When you enter this syntax it DOES NOT redirect you to the m.facebook.com page when you click on the links within the fanpage.

Just go ahead and try it on your mobile phone. Add the below code to your site and use your phone to see the results.

{JFBCFan width=280 height=75 href=http://facebook.com/facebook show_faces=false stream=false header=false border_color=blue}

When you say let facebook take care of the redirection that only applies to entering www.facebook.com on the browser, it does not work when you use it with the JFBC syntax.

OK, sorry, you are write, it does not redirect you to m.facebook.com, but it has nothing to do with JFBC or its syntax.
JFBC's syntax (like most of any other Joomla plugins) is there to ease the process of writing the entire needed code to show the Like button.
in other words, when you write:
{JFBCFan  width=280 height=75 href=http://facebook.com/facebook show_faces=false stream=false header=false border_color=blue} 
the plugin will convert it into:
<fb:like href="http://www.facebook.com/facebook" send="true" width="280" show_faces="false"></fb:like>
which then, without any connection to the plugin, the FB JS will convert it into the full code.


so again, the redirection is not part of the syntax, and not part of the plugin's responsibility.
but yes, I agree it does not work.




you could test this out, by simple using the FB site I gave you to generate your manual FB Like Button, and compare the to outputs/behaviors.

Hope that helps,
Mati
The topic has been locked.