Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Facebook plugins - not working properly
no load picture profile example...
http://img176.imageshack.us/img176/6416/capturadepantalla201011x.png
No load $ID:
http://graph.facebook.com//picture
:S
http://img176.imageshack.us/img176/6416/capturadepantalla201011x.png
<div class="ConnectInfo">
<img src="http://graph.facebook.com//picture" alt="Profile Picture" />
span class="Name">
</span>
<h3>Add Info & Create Account</h3></div>
No load $ID:
http://graph.facebook.com//picture
:S
Tagged:
0
Comments
go www.forum..................com
Sign in with your facebook account and does not work the password form after allowing for the implementation is hidden
:-(
Vanilla Forums COO [GitHub, Twitter, About.me]
https://graph.facebook.com/oauth/authorize?client_id=XXXXXXXXXXXX&redirect_uri=http://XXXXXXXXXXXXXXXXXX.com/entry/connect/facebook?Target=discussions&scope=email,publish_stream
No correct
https://graph.facebook.com/oauth/authorize?client_id=XXXXXXXXXXXX&redirect_uri=http://XXXXXXXXXXXXXXXXXX.com/entry/connect/facebook?Target=&scope=email,publish_stream
Problem
Target=
file:
class.facebook.plugin.php
public function RedirectUri($NewValue = NULL) {
if ($NewValue !== NULL)
$this->_RedirectUri = $NewValue;
elseif ($this->_RedirectUri === NULL) {
$RedirectUri = Url('/entry/connect/facebook', TRUE);
$Args = array('Target' => GetValue('Target', $_GET, Gdn::Request()->Path()));
$RedirectUri .= '?'.http_build_query($Args);
$this->_RedirectUri = $RedirectUri;
the problem is it does not include this "discussions" in "Target" Target=discussions
the solution is to include this variable correctly, but I could not
@Todd
Search:
$Args = array('Target' => GetValue('Target', $_GET, Gdn::Request()->Path()));
Change:
$Args['Target'] = $_GET['Target'];
is correct @Todd ? Facebok pluging works perfectly with the change
* Provider is required.
* UniqueID is required.
* The connection data has not been verified.
I get the FB log in bit, the asking for a unique username to use on the site, then this
/plugins/Facebook
folder.Edit: See the attachment below.
Thanks for the php file.
Unfortunately, it still doesn't work. I have attached a capture of my app.
Did I configure it properly ?
http://www.imagup.com/data/1104701588.html
Thanks
No change unfortunately .. same error as above
Thanks for working through this!
now I wonder about twitter, openid, and google
oh and I definitely have apache2_mod_rewrite enabled (if that's what you were referring to)
@TerminalAddict, what do the urls in your application look like? Do you see
index.php?p=/discussions
when you click on Discussions? If so, and you do have mod_rewrite you should get your urls fancified. I'll help you with that, but I think it best that I write a help topic because this is a not-uncommon problem.@Todd thanks
You are correct in assuming I have no rewrite rules, therefore my urls are not "pretty" I hadn't got to that bit yet .. but am planning to implement this
edit: OH look at what I just found
$Configuration['Garden']['RewriteUrls'] = TRUE;
Did you just replace the php file in Facebook file ?
I am desperate, it's still doesn't work for, I don't know If I there is a prob with my facebook app or with the plugin.
Any ideas ?
I replaced my class.{protocol}.plugin.php files with ones provided by Todd
My fanilla forum is hosted at http://www.londonclub.fr/London_Club/vanilla/
And here is a capture of my app:
http://www.londonclub.fr/London_Club/vanilla/
Have I done anything wrong ?