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
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
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.
When you use the validator, if it passes, it should ask you to submit it so that the tags will actually be used in future tweets as the preview. If you don't see that option, all is good, it means you're probably already approved.
I will have to wait and see if the correct image starts appearing in the tweets.
Nope. The validator is like Facebook's Open Graph tool. It's just to test the tags. Once you've submitted for approval, your whole domain will be approved and you'll never have to do that again.
This is really good to know, I was fearing that I would have to validate as part of the articles editing process.
I'm not sure at all what's causing that. Something on the server is preventing them from contacting your site. That's a problem that's likely outside of our ability to help.
I have been perusing the forums, and it seems the validator goes down from time to time, so maybe that is what I am experiencing. I asked Twitter if this was the case and I will let you know what they tell me when they get back to me.
twitter:site is an optional tag. You can add it if you want, but it's not required.
Thanks, since Twitter makes a big deal about this how would I add it other than manually?
Right now, we only support the summary card by default. You may be able to set a custom tag on specific pages for other card types, but I'd have to look into how to do that better.
I can't add another head tag so I will have to think about how to do that on a page by page basis. I see that as a major coding issue for you because you would have to add that as attribute to the plugin tag and an option in the module; adds another level of complexity.
First, I am not sure what it means to submit the site to twitter for approval. Is that the same as running a page through their Card Validator? Our Twitter App has been approved since December 18, 2014.
Also I would assume that I have to validate for every page that I want to have Tweeted. Is that correct?
I am getting the following error when running the Twitter Card Validator:
9/11 Truth Outreach @911TruthOut
The card for your website will look a little something like this!
Unable to render Card preview
ERROR: FetchError:exceeded 4.seconds to Portal.Pink-constructor-safecore while waiting for a response for the request, including retries (if applicable) (Card error)
When I look up this error, it indicates that the robots.txt file doesn't allow twitterbot access to the site.
When I explicitly allow twitterbot access to the entire site:
I still get the same error message when running the Twitter Card Validator.
I am obviously missing something here: Should I ask twitter to determine the problem?
I noticed the HTML for the page I was validating that the twitter:site meta tag isn't present. Is this the one instance where the twitter meta tag has to be present? i.e. <meta name="twitter:site" content="@911TruthOut" />
Also Twitter does use the Open Graph og: tags in the event that there aren't the equivalent twitter:card tags.
Twitter Cards and Open Graph
You’ll notice that Twitter card tags look similar to Open Graph tags, and that’s because they are based on the same conventions as the Open Graph protocol. If you’re already using Open Graph protocol to describe data on your page, it’s easy to generate a Twitter card without duplicating your tags and data. When the Twitter card processor looks for tags on your page, it first checks for the Twitter property, and if not present, falls back to the supported Open Graph property. This allows for both to be defined on the page independently, and minimizes the amount of duplicate markup required to describe your content and experience.
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@nytimesbits" />
<meta name="twitter:creator" content="@nickbilton" />
<meta property="og:url" content="http://bits.blogs.nytimes.com/2011/12/08/a-twitter-for-my-sister/" />
<meta property="og:title" content="A Twitter for My Sister" />
<meta property="og:description" content="In the early days, Twitter grew so quickly that it was almost impossible to add new features because engineers spent their time trying to keep the rocket ship from stalling." />
<meta property="og:image" content="http://graphics8.nytimes.com/images/2011/12/08/technology/bits-newtwitter/bits-newtwitter-tmagArticle.jpg" />
And there are several types of Twitter Cards such as:
Summary Card: Default Card, including a title, description,
thumbnail, and Twitter account attribution.
Summary Card with Large Image: Similar to a Summary Card, but
with a prominently featured image.
Photo Card: A Card with a photo only.
Gallery Card: A Card highlighting a collection of four photos.
App Card: A Card to detail a mobile app with direct download.
Player Card: A Card to provide video/audio/media.
Product Card: A Card optimized for product information.
How do I indicate these cards for different types of content pages in JFBConnect?
Thanks Alex, that solved that problem and the Facebook "Recommend" Action I created looks really great now, as does the Facebook Like and Google+ actions for the "Content Plugin - K2 Like" plugin. But when testing the twitter button in the "Content Plugin - K2 Like" ensemble, twitter displays the site image instead of the K2 Item image for the page even though the twitter meta tag indicates the correct image.
<meta name="twitter:image" content="https://www.911truthoutreach.org/media/k2/items/cache/64f7b8990be2d94add5152c155ac4915_XL.jpg"/>
<meta property="og:image" content="https://www.911truthoutreach.org/media/k2/items/cache/64f7b8990be2d94add5152c155ac4915_XL.jpg"/>
<meta property="og:image" content="https://www.911truthoutreach.org/images/site/template/facebook-911to-logo.jpg"/>
The Facebook Like action causes the correct image to be displayed on the users timeline for Likes, but on the twitter "What's Happening" center section, the site logo is displayed instead. Is there some way I can remedy this, or should I use individual tags for each page? I am hoping that I can use the site wide "Content Plugin - K2 Like" plugin, as that means a lot less work and maintenance for me.
Another thing for twitter, I am trying to keep the character count down so I have created an alias for https://www.911truthoutreach.org of http://911to.org.
I am using the Joomla redirect manager to re-direct requests to something like https://www.911truthoutreach.org/Ca-Deals-w-911/, to https://www.911truthoutreach.org/557-ne … 9-11.html. This results in the URL: http://911to.org/Ca-Deals-w-911/ being redirected to: https://www.911truthoutreach.org/557-ne … -9-11.html (this actually is working), saving a lot of characters that can be better used for description.
Is there a way in JFBConnect to change the base URL to http://911to.org/ and is there a way that I can manually set the page reference to the shorter name, which will then be reconstructed when someone clicks on that link on the Social Media pages though our DNS server and the Joomla Redirect Manager?
Now I am getting this:
1 mary.chaisen Recommend Article Error /557-news-releases/407-music-matters.html Invalid parameter 2014-12-27 23:15:47
2 mary.chaisen Recommend Article Error /557-news-releases/409-torture-intentionally-amplified-the-false-storyline-of-9-11.html Invalid parameter 2014-12-27 23:13:34
3 mary.chaisen Recommend Article Error /557-news-releases/409-torture-intentionally-amplified-the-false-storyline-of-9-11.html Invalid parameter 2014-12-27 23:09:48
Is this because Facebook is in the process of reviewing the app?
How do I add :hover, :active :focus effects to SCLogin and Registration modules.?
I created a second and third set of icons and I would like to name them icon_hover.png, icon_active.png and icon_label_hover.png, icon_label_active.png and add them to the /media/sourcecoast/images/provider/facebook and all the other providers so that the resultant html is:
<div class="social-login facebook jfbcLogin pull-left">
<img onmouseout="this.src='/media/sourcecoast/images/provider/facebook/icon_active.png'" onmouseover="this.src='/media/sourcecoast/images/provider/facebook/icon_hover.png'" src="/media/sourcecoast/images/provider/facebook/icon.png" title="Log in with Facebook" alt="Log in with Facebook" />
I also want to add jQuery transition effects to boot. Or can I do this with CSS
Thanks for the explanation Alex. This must make writing documentation pretty difficult, because there are so many exceptions depending on the Joomla components installed like K2, EasyBlog, JomSocial, Community Builder, etc.
Thanks again for the explanation, I will not set a default title for K2 sites going forward. FaceBook hasn't gotten around to reviewing the changes yet. Would imagine that it might be after the 1st of the year before they do.
I am getting a lot questions from the people paying for this site who believe that adding Social Media tags to a site should be as easy as downloading the widgets fr4om Facebook and twitter and adding them to a page.
So the rest of the defaults, image, site_name, description, don't conflict with specific tags? Online the "title=" tag gets applied universally when included in the defaults list?
Thanks Melissa, but that isn't what is happening. When I create a test account on Facebook and I use that test account to test the tags in an article (I Am the Face of Truth) I get the K2 Category title instead of the article title in the post for the test Facebook account.
The Object type is Article which is the Facebook default type article and the category for that object is "Latest News" which has the title ":Latest News". The action is "Recommend" which is a custom action I created on Facebook, and which works except for the problem with the title. The K2 title for this article is: "I Am the Face of Truth." The only place "9/11 Truth Outreach News," as seen in the image above, appears on the website is in the Newsletter created by ACYMailing, the title of the Newsletter is "9/11 Truth Outreach Newsletter." I can't find anywhere else on the site where that is used. But you say JFBConnect ignores the og:title meta tag in the head section of the page and instead uses the K2 title for the item as long as the item is of the Category (Latest News in this instance) that was selected in the options for the Object ("Article"). But again that is not happening.
Could it be that ACYMailing and JFBConnect are interfering with each other?
When I create an Open Graph object called Article which is the default Facebook type article, the only option for selecting what I want to be og:title is the Category for the particular K2 item. I don't want the Category title to be used for the og:title, I want the item/article title to be used for the og:title. What do I have to do to accomplish that?
I will start posting as soon as I get the OpenGraph tags added to the content so that the posts are properly formatted.
Sorry to say, this is what I got:
Error - Facebook API Error: Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api
I see you made some changes to the interface, but I assume that the particular page cannot be chosen until the channel is saved and the token saved in the database.
Here is the sequence of steps I took in creating the new channel
I did change the Social Media channels manager a couple of times. Perhaps that set a token in the database that is no longer valid because the Channel Manager is no longer the same. Is there a way to reset that 100 character secret code so that JFBConnect updates that token to the new one returned by a Facebook request.
Will update you user right away.
Could it be that the API key stored in database still reflects the previous key to the previous App that I deleted and recreated? I copied the new API key and new Secret code to the Facebook configuration page and saved the new configuration. I did that twice just to make sure that the correct keys were entered in the DB.
Give me about 15 minutes, it is now 7:43 in Florida.
OK, I am going to try re-installing JFBConnect to see if this corrects the "Error - Facebook API Error: A user access token is required to request this resource." error, when trying to set up the Facebook channel.
I don't know what to do without knowing a bit more about the JFBConnect application structure. I re-installed JFBConnect, but I presume that since there was no difference between the installed version of JFBConnect and the installation package I have that no changes were made. I ran AutoTune again and everything checks out except for a warning that I had JFBConnect in Debug Mode. I turned Debug Mode off and and then checked JFBConnect Facebook "Channels" again, but I still got: Error - Facebook API Error: A user access token is required to request this resource.
So I am waiting for Alex to make some suggestion as to what he thinks I should check in order to resolve this issue. Since this is a user access token error, could the problem be that there is a mismatch between the user's credentials that I have designated as the social media admin on the website and the credentials of the account owner (the same as on the website) on Facebook, the email account is the same in both instances.
The website in question here is https://www.911truthoutreach.org
First thing tomorrow morning on the west coast of the USA.
I sent you log in credentials. In the "Channels" page you will see: Error - Facebook API Error: A user access token is required to request this resource.
Wayne Coste is the person I designated as the creator and manager of all the pages for all the Social Media providers and his account is linked to [email protected] which is the account holder's, it is Wayne Coste's email that is used on Facebook as well as all the other social media providers.
I would re-install JFBConnect in an attempt to resolve this issue, but I will hold off until you take a look; don't want to complicate the issue.