Disqus/facebook - increasing our page views?

26 views
Skip to first unread message

Alex Black

unread,
Apr 8, 2010, 9:42:32 PM4/8/10
to DISQUS Developers
Before the 3rd, we'd get about 1,500 page views a day with fbc_channel
in the url, starting the 3rd we get about 10,000 page views a day..

If you visit any page on our site (http://snapsort.com) which has
comments, using Firebug you can see a number of requests to Facebook,
presumably to try to log you in via Facebook connect.

E.g try: http://snapsort.com/compare/Canon_EOS_Rebel_T1i-vs-Canon_EOS_Rebel_T2i

Among many others, I see all of these requests:

(Doesn't this seem like way too many?)

GET client_restserver.php?r=1270478236
http://api.connect.facebook.com/static/v0.4/client_restserver.php?r=1270478236

GET login_status.php?
api_key=ef75d58df924e9c7730d6e0e8afea199&extern=2&channel=http%3A%2F
%2Fsnapsort.com%2Fcompare%2FCanon_EOS_Rebel_T1i-vs-Canon_EOS_Rebel_T2i
%3Ffbc_channel%3D1&public_session_data=1&locale=en_US
http://www.facebook.com/extern/login_status.php?api_key=ef75d58df924e9c7730d6e0e8afea199&extern=2&channel=http%3A%2F%2Fsnapsort.com%2Fcompare%2FCanon_EOS_Rebel_T1i-vs-Canon_EOS_Rebel_T2i%3Ffbc_channel%3D1&public_session_data=1&locale=en_US

GET XdComm
http://static.ak.connect.facebook.com/connect.php/en_US/js/XdComm

GET connect.php
http://static.ak.connect.facebook.com/connect.php

GET connect-css
http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-button-css/connect-button-css/share-button-css/FB.Connect-css/connect-css

GET en_US
http://static.ak.connect.facebook.com/connect.php/en_US


GET XFBML
http://static.ak.connect.facebook.com/connect.php/en_US/js/Api/CanvasUtil/Connect/XFBML

GET connect-css
http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-button-css/connect-button-css/share-button-css/FB.Connect-css/connect-css

GET XFBML
http://static.ak.connect.facebook.com/connect.php/en_US/js/Api/CanvasUtil/Connect/XFBML

GET connect-css
http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-button-css/connect-button-css/share-button-css/FB.Connect-css/connect-css

GET FeatureLoader.js.php
http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php

GET FeatureLoader.js.php
http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php

GET connect-css
http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-button-css/connect-button-css/share-button-css/FB.Connect-css/connect-css


Anton Kovalyov

unread,
Apr 15, 2010, 11:50:27 PM4/15/10
to disqu...@googlegroups.com
Hi Alex,

Those files are loaded by Facebook's library (FeatureLoader.js). We do
not have control over it.

Anton
> --
> --
> http://groups.google.com/group/disqus-dev?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

--

Anton

--
--
http://groups.google.com/group/disqus-dev?hl=en

bob.grigoryan

unread,
Jun 1, 2010, 8:35:11 AM6/1/10
to DISQUS Developers
Below are my thoughts on the issue which I'm going to test soon, just
wanted to clarify with developers:

"?fbc_channel=1" requests are results of cross domain communication of
FBConnect.
http://wiki.developers.facebook.com/index.php/Cross_Domain_Communication

After getting login status from facebook it redirects you to the same
page (with ?fbc_channel=1) unless you have set up cross domain
receiver URL in your Disqus site config:
http://help.disqus.com/entries/177975-setting-up-a-cross-domain-receiver

Anton, please, can you clarify if this is correct?
Also it's not quite clear to me why we have to specify "blank.html" as
a xd_receiver - how will it work in that case, how cookies will be
saved? - because usually facebook connect applications use
xd_receiver.html which has a javascript inside which does the job.

Thanks,
bob



On Apr 16, 8:50 am, Anton Kovalyov <an...@kovalyov.net> wrote:
> Hi Alex,
>
> Those files are loaded by Facebook's library (FeatureLoader.js). We do
> not have control over it.
>
> Anton
>
>
>
> On Thursday, April 8, 2010, Alex Black <a...@alexblack.ca> wrote:
> > Before the 3rd, we'd get about 1,500 page views a day withfbc_channel
> > in the url, starting the 3rd we get about 10,000 page views a day..
>
> > If you visit any page on our site (http://snapsort.com) which has
> > comments, using Firebug you can see a number of requests to Facebook,
> > presumably to try to log you in via Facebook connect.
>
> > E.g try:http://snapsort.com/compare/Canon_EOS_Rebel_T1i-vs-Canon_EOS_Rebel_T2i
>
> > Among many others, I see all of these requests:
>
> > (Doesn't this seem like way too many?)
>
> > GET client_restserver.php?r=1270478236
> >http://api.connect.facebook.com/static/v0.4/client_restserver.php?r=1...
>
> > GET login_status.php?
> > api_key=ef75d58df924e9c7730d6e0e8afea199&extern=2&channel=http%3A%2F
> > %2Fsnapsort.com%2Fcompare%2FCanon_EOS_Rebel_T1i-vs-Canon_EOS_Rebel_T2i
> > %3Ffbc_channel%3D1&public_session_data=1&locale=en_US
> >http://www.facebook.com/extern/login_status.php?api_key=ef75d58df924e...
> >http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-...
> >http://static.ak.connect.facebook.com/connect.php/en_US/js/Api/Canvas...
>
> > GET connect-css
> >http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-...
>
> > GET XFBML
> >http://static.ak.connect.facebook.com/connect.php/en_US/js/Api/Canvas...
>
> > GET connect-css
> >http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-...
>
> > GET FeatureLoader.js.php
> >http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.j...
>
> > GET FeatureLoader.js.php
> >http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.j...
>
> > GET connect-css
> >http://static.ak.connect.facebook.com/connect.php/en_US/css/bookmark-...

Anton Kovalyov

unread,
Jun 5, 2010, 8:29:02 PM6/5/10
to disqu...@googlegroups.com
Hi,

You are correct about Facebook Connect behavior. As for cross-domain receiver, the blank html page is needed for Disqus, not Facebook. For Facebook, you will need to follow all the steps described in their docs and then put the path to the cross-domain receiver file into global facebookXdReceiverPath variable.

Sorry, it is not stated clearly in docs, we will fix that soon.

Thanks,
Anton


Reply all
Reply to author
Forward
0 new messages