The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Facebook issues [SOLVED]
I am working on the Facebook platform in vB 4.2.2 and I have one issue, which perhaps, you can help me with.
I have set up an app, I have an app ID and a secret code and I have entered these correctly in my Facebook Options page in AdminCP. However, the FB Connect button, which appears in the header, doesn't do anything. It doesn't ask for an FB log in. Other functions, like for example the Like buttons in threads, do ask me for an FB log in, and they work correctly when I ask to share a thread in FB. I have downloaded the Facebook SDK from a web site (I do not remember the site's name, but it is the correct site, from where a lot of software is distributed) and I have uploaded the three files to /includes/facebook, no improvements. Any help? Your help will be greatly appreciated. --------------- Added [DATE]1386176387[/DATE] at [TIME]1386176387[/TIME] --------------- Never mind, I figured this out. Thanks for looking. |
#2
|
||||
|
||||
Well hook us up brother !! What did you do?
Steve |
#3
|
|||
|
|||
Well, I started from scratch, checking everything.
First thing I checked my app ID in Facebook, and discovered that I had it set up to match the URL of my site, when I was testing it. That site was not accessible from the internet, without a password. Changed the URL and the FB Connect worked just fine. It takes some testing and it is not very bug-free. For example, my og:image is 300x300 pixels and some times, when I test it in FB debugger, it still shows me that it is too small. Second, some times in FB debugger, I get some errors for circular errors, that I need to figure out, between http://www.mysite.com/forum.php and http://www.mysite.com/activity.php. I also wanted to have the smallest (height-wise) buttons, so I changed the Facebook_likebutton template to: Code:
<vb:if condition="$show['loadfbroot']"> <span id="fb-root"></span> <script type="text/javascript" src="//connect.facebook.net/{vb:rawphrase facebook_language}/all.js#appId={vb:raw appid}&xfbml=1"></script> </vb:if> <fb:like href="{vb:raw href}" font="tahoma" layout="button_count" share="true" show_faces="false" width="260" action="like" colorscheme="light"></fb:like> If you still have an issue, get back to me and I'll try to help you out. |
2 благодарности(ей) от: | ||
Digital Jedi, tbworld |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|