• Index
  • » Users
  • » webdevtim
  • » Posts



Apr-08-15 11:38:50
Action is tested appears on test account Facebook page, now I need to submit it for approval
Category: JFBConnect

Yes I did "Save Custom Setting," as "Save All Recommended Settings" replaces all the setting entries with the recommendations on the right side. I under stand that. but when I "Save Custom Settings" after deleting the URLs from the "Page Tab URL" AND "Page Tab Secure URL" text boxes, the values still get reintroduced back into those text boxes.

I was able to get the App back into the review process by Facebook, so I will just wait until they approve it before doing anything in JFBConnect on the site, because if I  save the settings for Page Tab in JFBConnect those settings get transmitted to the Page Tab settings in the Facebook developers page as well which would scuttle the approval process because I have no Page Tab define on Facebook.

Apr-07-15 22:06:15
Action is tested appears on test account Facebook page, now I need to submit it for approval
Category: JFBConnect

I got the App resubmitted to Facebook, but the Autotune -> Facebook App -> Page Tab still has the Page Tab URL and Page Tab Secure URL filled in. No matter what I do the program logic adds the URLs back when I save. I assume that it is checking Facebook. But I have removed the Page Tab from Facebook. Actually if I save in Autotune, the Page Tab gets added back to the Facebook App on Facebook.

Apr-07-15 19:51:06
Action is tested appears on test account Facebook page, now I need to submit it for approval
Category: JFBConnect

Did as you advised, Got rid of Page Tabs on Facebook, and refreshed in Autotune -> Facebook App, which fixed the URL issues, but under Page Tab, it has the Page Tab URL and Secure Page Tab URL filled in. If I try to removes the Page Tab URLs manually and save, the removal fails. Do I have to wait for a specified interval before JFBConnect can detect that the Page Tab has been removed from Facebook?

Apr-06-15 20:27:22
Action is tested appears on test account Facebook page, now I need to submit it for approval
Category: JFBConnect

I meant whatever plugin goes with "scsocialbuttons"

Also, should I delete the entry made in "Page Tab Default Name" as well?

I can't get rid of the Page Tab data either in JFBConnect or on developer.facebook.com

I didn't notice that the domain got changed in JFBConnect -> Autotune -> Facebook App. I had made a duplicate copy of the site on our dev site (I cleared everything on the dev site including database before copying the live site to the dev site) and though I didn't touch anything on JFBConnect, the domain got changed to the dev site sub-domain and all the Facebook entries were updated to reflect that. After I finished updating everything on the dev site I copied the dev site to the live site (I cleared the live site of everything including the database) and made the necessary changes to ,htaccess and configuration.php and thought I was goo to go. Now JFBConnect is complaining that I am not using the JFBConnect Recommendations which suggest the dev site URLs. Must be somewhere I can go to get rid of those dev site suggestions.

Apr-06-15 19:37:36
Action is tested appears on test account Facebook page, now I need to submit it for approval
Category: JFBConnect

OK, thanks Alex.

But I have the Social Media Plugin displaying at the bottom of the articles, I did this because I wanted to convey a slightly different meaning that like, which was Recommend. And the behavior of Recommend is slightly different than like. I can modify the standard Like to convey this slightly different meaning and display the content in a slightly more novel way?

Apr-04-15 19:05:18
Action is tested appears on test account Facebook page, now I need to submit it for approval
Category: JFBConnect

In Facebook -> OpenGraph -> Stories, I created a Story called, "Recommend an Article", and assigned it an Action Type of "Recommend," and an Object Type of "Article." In Facebook -> OpenGraph -> Actions, I created an action called, "Recommend." In Facebook -> OpenGraph -> Objects, I modified the Object Type "Article,"

In Facerbook -> Status and Review, I have an app called "9/11 Truth Outreach on the Move," I set "Do you want to make this app and all its live features available to the general public?" to "Yes." There is an information box below that question that reads, "Continue your submission," and below that there is an instruction. "To continue with your submission please visit Items in Review." When I click on Items in Review a page opens that has two columns, "items" and "Add Items to this submission." I added "Recommend-Recommend an Article" to the list of items for the submission. I uploaded all the screenshots for the "Recommend" button on the website, starting with the page that has the "Recommend" button, to the popup that opens asking for comments and to confirm, to the post that appears on the Facebook page for the test user.

The problem is that "Facebook Login Integration" is filled in, "Test User" is filled in, "Page for Testing" says "no available pages" "Create a New Page?" I don't understand what they are asking for here. Screen shots are filled in including a screenshot of the JFBConnect "Overview Panel."

I can't continue the review process until the "Page for Testing" tab is filled in on Facebook.

Our Facebook page is "https://www.facebook.com/911truthoutreach.org"

In Joomla -> JFBConnect -> OpenGraph -> Actions, I have "Recommend," Which has an "Object Association" of "Article", which is a "K2" "item." In Joomla -> JFB Connect -> OpenGraph -> Objects I have "Article" defined which is a "K2 extension" with "Layout," "Item" and "Object Type" "article," which is a default object type.

Is there something I have done the wrong way here?

Apr-03-15 22:44:42
Action is tested appears on test account Facebook page, now I need to submit it for approval
Category: JFBConnect

Hello Alex. I got the load time down to around 2.5 seconds and now I am ready to submit the "Recommend" button for approval, I am just not exactly sure what I have to do at this point and your instructions seem a little fuzzy and Facebook isn't very clear either.
see: "Need all JavaScript and Images to be local" for some history on this issue.

As I said I have tested the "Recommend" button and it performs as expected and the results post to the test account I set up on Facebook. I just need to submit it for approval now, and I don't see a straight forward way to do that.

Mar-03-15 14:08:37
Need images from Twitter and Face book to be grabbed locally and all Javescrip to reside locally
Category: JFBConnect

Thanks Alex, I will just work on the issues you identified until I get consistent "onload" time under 3.55 seconds.

I have to install Drupal, because I want to install CiviCRM on a sub-domain and there is a module CiviEngage that requires CiviCRM to be installed on Drupal, not Joomla or WordPress. Installing Drupal was a no-brainer and setting up a chron tab to allow automatic updates isn't difficult. I will have to learn what is involved to properly install CiciCRM and it's modules however: but this discussion is for another place and another time.

Mar-03-15 11:12:48
Need images from Twitter and Face book to be grabbed locally and all Javescrip to reside locally
Category: JFBConnect

The only problem is that I elected to use K2 and that introduces a lot of overhead just by itself.

My CSS file is 12,000 lines long, I will spend the day paring that down to around 2,000 lines. I am also using Twitter Bootstrap, and I realize now that though that is convenient, it is better to just use the jQuery and JavaScript only where needed. Also if I make judicious use of @media queries, I probably don't need Twitter Bootstrap to have a responsive site which means I can avoid all the overhead that Bootstrap introduces. As far as K2, I like the functionality it introduces, I just don't like the overhead.

Thanks for all the time you have invested in trying to help me out. I wish all developers had the ethical sense of duty you seem to have.

I believe that Open Sources development is the model we should all embrace, as it is by nature a very democratic model and a model that would ultimately serve communities better than models championed by guys like Pierre Omidyar, Sergey Brin. or Mark Zuckerberg.

I have installed Drupal on a test site, and perhaps I need to be looking in that direction rather than in the Joomla direction, because I have read that it scales much better than Joomla. To bad some of the core functions aren't developed with compiled languages rather than scripting languages.

Mar-03-15 00:23:47
Need images from Twitter and Face book to be grabbed locally and all Javescrip to reside locally
Category: JFBConnect

That Alex. I just got 7.46 seconds, so it seems that CloudAccess delivery of first byte is quite variable.

We have the $10/month, and they advertise that they are WordPress/Joomla specialists. I just got them to add an Apache module that resolves CloudFlare IPs to the actual originating IPs, I wonder if that is adding and processing time. The suggestion was made by CloudFlare, and I got CloudAccess to accept that suggestion and implement it, so I wouldn't have to install yet another plugin to resolve CloudFlare addresses.

I am just going to have to continue to pare this down until i get load times around 3.5 second and then submit the JFBConnect Apps to Facebook and twitter for approval again.

Thanks for you tireless and thoughtful input.

Mar-01-15 14:47:52
Need images from Twitter and Face book to be grabbed locally and all Javescrip to reside locally
Category: JFBConnect

I set the cache time in "JFBConnect" -> "Configuraton" -> Cache Duration" to 5 hours. I don't need real time results in the module.

And I have disabled everything that wasn't being used.

Still, see: GTmetrix-report-www.911truthoutreach.org-20150301T120736-J9vUdus1.pdf and you will see what I mean by sdk.js taking a long time to connect. Sometime the total load time is 60 ms and others 768 ms and connection time is the variable.


Feb-28-15 22:23:50
Need images from Twitter and Face book to be grabbed locally and all Javescrip to reside locally
Category: JFBConnect

While possible, that's a ton of work. It also will require work every time you upgrade any extension. JCH Optimize also uses caching to store the compressed and minified files on your server so that it doesn't have to regenerate them every page load. You can do what you're doing, but JCH is likely better at it and certainly less error prone.

Yes I realized that it would be a ton of work and I realized that I would have to update my unified file every time a component, module or plugin was updated. JCH has to make generalizations in order for the plugin to work on every Joomla installation. But since you have expressed confidence in this plugin,I will do what I can to optimize it rather than discard it.

Bottom lineing ist, there's not much we can do to help. If you're really under the 4s threshold, I'd recommend disabling anything you can to get under that watermark. Then, get approved and re-enable whatever you need. Then, test and go from there to test from a real user perspective and not what some automated tools see that don't emulate a real browser.

This is a great idea, why didn't I think of it. I still need to have this site load under 4 seconds, but while I am going through code with a fine tooth comb, this will get us posting to Facebook and Twitter sooner rather than later..Thank you so much for this idea.

By the way, GTMetrix has a test for what is seen after a page is properly cached by a browser, which would be much more indicative of real world use.

Thanks, and thanks for all the other suggestions as well.

Feb-28-15 20:56:18
Need images from Twitter and Face book to be grabbed locally and all Javescrip to reside locally
Category: JFBConnect

What portion of the load time was improved? Was it the server processing time or was it the browser loading time? What tool are you using to check the loading overall? I'd recommend gtmetrix.com, but there are plenty of great tools out there.

1. It was  server specific wait time from fetching the content from Twitter and Facebook that was eliminated when I disabled the SCSocial Stream module.

2. I use either GMetrix or Firebug. Firebug is nice because it is always right there. As far as I know, GMetrix, assumes that nothing is loaded in the browser, but will report the presence of "Expires" headers in the YSlow score, not sure about Firebug.

Again, there are a few things that aren't valid with this statement:
* Most users will have already visited a site that has the sdk.js file loaded on it, which means it would already be cached in their browser. That results in a 0s load time.
* Cloudflare is a CDN. Facebook also uses it's own CDN. Moving from one to another won't necessarily speed things up further and Cloudflare doesn't actually cache all contents from every site. Just the frequently loaded ones.. whereas the sdk.js file from Facebook is always loaded over a CDN.

1. Yes they are both CDNs, however if one CDN already has the content present in it's cache it doesn't have to fetch that from another CDN. So I don't understand this.
2. CloudFlare will cache what I tell it to cache and not cache what I tell it not to cache if I create a custom configuration beyond their default settings.
3. As you say, sdk.js is most likely already loaded in the Browser, so there is no need to fetch it. But GMetrix doesn't know that. I am trying to get load times under 4 seconds so Facebook and Twitter will approve the JFBConnect Apps on the site. Actually the load time for sdk.js is blocking time, which from my understanding means it is just waiting for something else to be loaded, so it may not be contributing to the total "onload" time. I am just looking at things that appear to be taking the most time.

There are plenty of extensions for Joomla that can convert images in the output of your page to be lazy load. That's not an optimization we'd make in JFBConnect as it can be very tricky to implement properly across all sites.

Understood, I am using one called JCHOptimize. But I really want to go through and consolidate everything into one .css file and one .js file, eliminating all duplication while adding comments to delimit different sections for different components, modules and plugins and then minify those files and eliminate JCHOptimize which itself has a load time footprint.

My biggest delay is the time it takes the host server to assemble the dynamic content and deliver it to CloudFlare.

You can test yourself: https://www.911truthoutreach.org

Feb-28-15 16:26:23
Need images from Twitter and Face book to be grabbed locally and all Javescrip to reside locally
Category: JFBConnect

I have hooked our website up to CloudFlare and the problem with getting the content from Facebook or Twitter, though it is fast, still introduces a wait time of 1 second for each request. When I disabled the SCSocial Stream module I shaved 2 seconds off the load time. There are many other things I need to do, but this is the one thing that stuck out.

The Facebook SDK.js file takes 768 ms to load from Facebook. By having that file on our server, it would be cached by CloudFlare, eliminating that 768 ms of wait time.

Also if I can lazy load the Twitter and Facebook data, that would help; or load the Facebook and Twitter data after the page has loaded through and XMLHTTPRequest.

Feb-27-15 21:38:02
Need images from Twitter and Face book to be grabbed locally and all Javescrip to reside locally
Category: JFBConnect

How to I get the SCSocial Stream module to grab JavaScript locally and how do I get SCSocial Stream module to grab stock twitter and Facebook images locally rather than grabbing them from twitter and Facebook.

I can't have pages generated from remote content as that reallllllllly shows down page loads. I can grab the text from Facebook and Twitter posts, but since I know what the images are, I can have those available locally in my images/social-media folder. In each instance where 525029324584255488/vlK3ysXt_normal.png is collected from https://pbs.twimg.com. I can grab that from the images/social-media folder instead eliminating a trip over the internet. In the case of any other image that is grabbed remotely, I can copy that to the images/social-media folder as well and tell JFBConnect to get that image from the folder instead of over the internet.

I also can't afford to be getting JavaScript remotely either. I need to change the following to grab facebook.net/en_GB/sdk.js locally as well.

Lets me know where I need to go in the code to make the necessary changes. Please see the elements highlighted in red below. Search for the string "[color=#ff3300]" to find the red color coded items.


  (function(d, s, id){
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement(s); js.id = id;
     [color=#ff3300]js.src = "//connect.facebook.net/en_GB/sdk.js"[/color];
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));

Did you submit your action for approval to Facebook? After you perform the test and it works, you need to submit the action for their review. Once it's approved then all users can use it.

I thought I did, but I will submit it again.

If the loading time of your page is still 11s, then they are likely timing out as well and just showing the basic data the JavaScript can fetch about the page

I am going to put the site on CloudFlare and see if that improves load times enough to get things approved by Facebook and twitter just to get me by until I can deal with the crippling blocking and waiting that is killing the load times. I am going to have to round up all the CSS files and make one large CSS file out of them, and all the JavaScript files and do the same thing and inline as much as I can; that will take some time and testing.

One way to test is to run the page through the Facebook Debug tool first to see if the right tags are detected. Facebook should cache that data and may use it when someone tries to share your link (though not always).

Thanks I will try that. Right now the site is down because I am getting the WSOD. Index.php looks good and went through all the Joomla troubleshooting suggestions and still WSOD. I can't even get php errors to display and the error log shows no errors were logged. So I can't even try anything right now. Will let you know when things are working according to the play book.

Two things.

1. Facebook custom "Recommend" action on default "Article" Object still only works with Facebook test user, after two weeks of waiting.

2. When someone sends a Facebook message and they include a URL to one of our articles in the message dialogue box, all that is sent is the article image and the name of the site. Do I have to create an action for this on Facebook?? When I look at the source for the page the URL references, I see all the meta property og:tag-names are all in place and all show the correct information. My thought is that JavaScript has to spit out these meta properties and when the URL is included in a Facebook message, the JavaScript hasn't run so the only thing that is available is the K2 image which Facebook grabs by default; just a guess.

Alex, I have some serious work to do.

GTMatrix evaluation of page load for: https://www.911truthoutreach.org/

Page load time: 11.86s
Total page size: 1.92MB
Total number of requests: 138

Recomendations are:

Specify image dimensions - thought I was doing this, but maybe the K2 images don't have image specified
Leverage browser caching - added that to .htaccess, but made no difference
Defer parsing of JavaScript - have to go through all the Javascript and see what needs to be loaded immediately and what can be deferred.

I think I have all the components I will be using, so I will finish up as well as I can to get the basics operational, and that which I can't will have to wait until after I finish optimization. I am installing MijoShop and I am running into other issues with that. So the game plan is to get everything basically working, go through and optimize html, css, javascript and images, using sprites where I can or replacing images with css techniques, and then come back and enhance the Social Media and everything else.

Yeh, but now I'm getting 10000ms load times. At one point it was down to 653ms and then after awhile it went to 10000ms. I previously worked with the lead developer at CloudAccess on our load times and he told me it looked like I was being throttled by the common carriers, because my packets were held up for a long periods of time in Verizon's routers compared to all other routers they passed through. He determined this after doing some pings and traceroutes. I do have way too many CSS files being loaded, way too many JavaScript files being loaded, and way too many images so I will have to consolidate the css and JavaScript and use css instead of images where I can.

Bottom line is I still can't authenticate. So I am backing up the site and will begin to do some serious surgery.

I did some pruning turned on Progressive Caching and tested the load times and found they range from 1.3 sec. to 6.1 sec. That's quite variable. So I will just keep validating until I achieve success. Then I will look into hooking the site up to CloudFlare.

Thanks again Alex.

I was going to go through and optimize the site after I got all the components set up that were going to be used regularly. I was then going to consolidate all of the CSS into one file looking for all classes that essentially do the same thing.

I think the menu is the issue and I was going to change that when I converted the site over to Bootstrap 3.0 including all components, modules and plugins.

But I guess that I have to begin that process now.

Yes I did submit the site through the twitter validation tool, but if you remember it couldn't access my site. I will try again until I get success.

Thanks yet again. But Happy New Year Alex. Hope everything is as you hoped it would be for this New Year.

I re-authenticated and was able to post to our twitter account successfully.

Thanks a million Alex.

Well not quite, this is what the post looks like.


I need our post to look as good as the one below it, but I want ours to be grabbed from the information in the K2 item.
I feel like a kindergarten student asking the teacher way too many questions, but I have to get this done right, and the twitter documentation isn't really helpful here as it makes suggestions for the html to include on a page.

Each type of Twitter Card (summary, photo, etc) needs to be approved for use on your site, which is more complex for users to go through as well.

I have read twitter developer post where some people have been waiting months for each approval, unless you're Katie Perry or someone like that, then you get expedited.

What happened when you tried to post to Twitter? What message did you get when you tried? Have you gone through the full channel setup and did you re-authenticate with the Twitter user and accept the "Can Post" permission on that login?

No I didn't re-authenticate.

I just posted to our channels and the post to Facebook was successful, but the post to twitter failed.

  • Index
  • » Users
  • » webdevtim
  • » Posts

Board Info

Board Stats
Total Topics:
Total Polls:
Total Posts:
Posts this week:
User Info
Total Users:
Newest User:
Members Online:
Guests Online:

There are no members online
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program