Topic-icon fb request not working

Active Subscriptions:

None
14 years 3 months ago #19904 by ari04011990
Hi there,

I have an issue with facebook request. There are couple of issues and they must be all interlinking. However, I dont know how and hence I will just post all the errors I am encountering:

1. When I click on "Invite friends" nothing happens; at the bottom of my screen it says something like javascript.void...

2. In the Canvas set up guide you mention the following points which i need to adjust in the facebook settings:

signed_request for Canvas: - Enabled
iFrame Page Tab - Enabled
Develop Using Deprecated FBML Canvas - Disabled


However I cannot find them anywhere

3. In the admin panel, under the "Canvas App" the following is stated:

Your Canvas application does not appear to be correctly configured


4. In the facebook "Basic settings" under the "App on Facebook" section, I am not able to include the Canvas URL

--> I might be doing something wrong here though: So what I do, is just copy and paste the same URLs as in the "Page tap" settings.

However, I always get the error:

Error
Canvas URL must point to a directory (i.e., end with a '/' or a dynamic page (i.e., have a '?' somewhere).
Secure Canvas URL must point to a directory (i.e., end with a '/' or a dynamic page (i.e., have a '?' somewhere).


I would really appreciate, if you could help me out again.

thanks
The topic has been locked.
Support Specialist
14 years 3 months ago #19944 by alzander
Replied by alzander on topic fb request not working
Ari,
1) Can you post the link to the page so we can see the Request button and test?
2) If you can't see those settings, don't worry about them. They are legacy values for older apps and newer apps default to the right settings.
3) The error here is caused because of #4 which isn't set correctly (as you mention)
4) Make sure you enter your site here as "www.mysite.com/" It needs the trailing slash at the end, and pointing at the root of your site is the best configuration for now.

Also, please make sure you have an SSL certificate installed on your site. That is required for Requests.

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19959 by ari04011990
Replied by ari04011990 on topic fb request not working
Hi Alex,

Thanks for your response and I got it to work.

Still some issues though:

When I send a request, it appears on in the notifications bit saying that: "XYZ has sent you an request in Student Fever".

However, once I click on that it redirects to the canvas page in facebook and does not link to my site url as specified in the "request" settings. I have made sure that i have checked the "Redirect from Canvas" option.

Also, my website does not seem to appear properly in the Canvas page and is oversized.

I have also an issue with "Application as Tab". Even though, I have specified an article ID, the front page appears in the facebook page and is also again oversized.

I have send you all the relevant links, access and screenshot per pm.

thanks for your help,
ari
The topic has been locked.
Support Specialist
14 years 3 months ago #19993 by alzander
Replied by alzander on topic fb request not working
Ari,
Thanks for the PM. Looking at your FB App Configuration, your Canvas URL is odd. Can you update it to just your home page for now, and leave off all the ?tabs_added... stuff at the end? Not sure what that is. If there's a reason that's there and you need it, please let me know.

I couldn't see what the Page Tab was set to in that picture, but if it's not your home page, please update it as well. Once that's done, if you're still having issues, I can log into the admin area of your site and check the other settings.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #20019 by ari04011990
Replied by ari04011990 on topic fb request not working
Hi Alex,

all the my facebook settings are my homepage now (pls see screenshot in pm).

However, it is still not working. I specified a particular URL section, tried "redirect from canvas" checked and unchecked, but when I click on the notification in facebook, it always keeps me sending to the canvas facebook page of my website and not to the specified URL in the "request" settings.

I would really appreciate if you could have a look yourself, as I am getting more and more frustrated...

many thanks alex.

Thanks
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #20020 by ari04011990
Replied by ari04011990 on topic fb request not working
Hi Alex,

all the my facebook settings are my homepage now (pls see screenshot in pm).

However, it is still not working. I specified a particular URL section, tried "redirect from canvas" checked and unchecked, but when I click on the notification in facebook, it always keeps me sending to the canvas facebook page of my website and not to the specified URL in the "request" settings.

I would really appreciate if you could have a look yourself, as I am getting more and more frustrated...

many thanks alex.

Thanks
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #20023 by ari04011990
Replied by ari04011990 on topic fb request not working
Alex, a few more notes to the above:

the request feature seemed to work for couple of minutes, but suddenly it stopped working again... the pop up is not appearing when I click on the "invite" botton.
(example link via ps again)

in the few minutes, when it seemed to work, there was a small issue as well: when I click on the notifcations, a blank white page appeared with a error line and then it got redirected to the canvas facebook page of my specified url...

sorry to bother you so much.


sorry
The topic has been locked.
Support Specialist
14 years 3 months ago #20032 by alzander
Replied by alzander on topic fb request not working
Ari,
The problem with the request working is that in the message field of the Request, you're using carriage returns. I don't believe those will come through in the request for the user, and they are definitely breaking our Javascript. I've added a bug report to our tracker to fix this issue, but until the next release, please don't put carriage returns in the message area.

I think that should get it to work for you, but if not, let me know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #20039 by ari04011990
Replied by ari04011990 on topic fb request not working
hi alex,

thanks for your help.

this might be a stupid question, but exactly are carriage returns and how do I disable them?

thanks,
ari
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #20044 by mtk
Replied by mtk on topic fb request not working

ari04011990 wrote: hi alex,

thanks for your help.

this might be a stupid question, but exactly are carriage returns and how do I disable them?

thanks,
ari

Hello Ari,
generally speaking, Carriage Return is when you press enter to get a new line of text.
As Alex has suggested, try putting all text in one single line and see if that helps.

Mati
The topic has been locked.