It also has vitamin B6. One study called out folate and vitamins B6 and B12 as important nutrients for athletes to achieve optimal health and performance. Vitamin B6 is commonly found in food, like fortified cereals, and as with magnesium, it’s possible to have too much vitamin B6. The NIH recommends an upper daily limit for adults of 100mg per day. Beast Sports comes well under this limit at 10mg per day, but still well above the minimum recommended dose of 1.7mg needed to see benefits.
Every ingredient can be harmful when taken in significant quantities (we go more into that below), so we pored over each booster’s ingredient list to make sure that they weren’t serving up an overdose. In particular, we took a close look at magnesium and zinc, which have enough scientific background behind them to offer hard upper limits on how much you can safely consume.
Thanks for all the time and energy you put into this . Very informative . Great read. As far as intermittent fasting ,it’s the best. Check out Kinobody on YouTube for great info. I just stopped T injections and was looking for a good Tongkat Ali . Is Herbolab better than SD200 from Pure Science Supplements . I know there is a lot of garbage out there,just want the best quality . Thanks again .

Once your elevate testosterone levels, you will also sharpen your focus, enhance sports performance, and enjoy enormous competitive spirit. You will also soon notice that the lack of motivation is no longer your problem. Being highly motivated and aggressive due to the action of testosterone boosters, you will experience better muscle gain. Whether you are a novice or a professional sportsman, you will quickly reach your sports goals.
Imagine if there was a pill that would transform your dick into an unstoppable orgasm machine; A pill that gave you the confidence to talk to any girl, because you knew one night with you and she would be begging for your cock. Women are attracted to men that can make them climax. The most PATHETIC trait a man can have is being bad at sex. But the exact opposite is also true.
The finding of hypogonadism in diabetic men is not just a scientific curiosity, it may have practical management implications. Kapoor and colleagues (2006) undertook a placebo-controlled double blind study to determine the effect of testosterone therapy on insulin resistance and glycemic control in hypogonadal men with type 2 diabetes. They found that men treated with testosterone had reductions in glycated hemoglobin insulin resistance, fasting blood sugar, waist circumference, waist/hip ratio and total cholesterol.
Opioid substances are in common use both licit and illicit. Opiates are potent analgesics but they are also highly addictive. They are frequently prescribed for both acute and chronic pain and when used chronically, often induce opiate dependence in the user. Pain clinics regularly use narcotic agents in many of their patients. Methadone, in particular, is regularly prescribed to opiate addicts who have entered a program aimed at reducing narcotic dosage and ultimately weaning the patient off it altogether. Most men who are on chronic high doses of an opiate become hypogonadal. This was first recognized in the 1970’s when heroin addicts were found to have suppressed levels of testosterone (Brambilla et al 1977). Also suppressed were LH and FSH pointing to a probable inhibition of GnRH release.
Do low levels of testosterone produce symptoms in middle-aged men? Absolutely. In fact, the classic symptoms were first recognized more than 70 years ago when two American physicians, Carl Heller, MD, and Gordon Myers, MD, showed the effectiveness of testosterone treatment for symptoms of fatigue, depression, irritability, low sex drive, erectile dysfunction, night sweats, and hot flashes in men. Over the years, subsequent studies have found that some—but not all—men with low, age-adjusted testosterone levels exhibit symptoms consistent with andropause. All experience improvement with testosterone therapy.
In addition to its role as a natural hormone, testosterone is used as a medication, for instance in the treatment of low testosterone levels in men and breast cancer in women.[10] Since testosterone levels decrease as men age, testosterone is sometimes used in older men to counteract this deficiency. It is also used illicitly to enhance physique and performance, for instance in athletes.
The sex hormone testosterone is far more than just the stuff of the alpha male's swagger. Though it plays a more significant role in the life of the biological male, it is actually present in both sexes to some degree. Despite popular perceptions that testosterone primarily controls aggression and sex drive—although it does play a role in both of those things—research has shown that individual levels of testosterone are also correlated with our language skills and cognitive abilities. Testosterone occurs in the body naturally, but can be administered as a medication, too: its most common uses are in the treatment of hypogonadism and breast cancer, as well as in hormone therapy for transgender men.
We know stress generates too much cortisol and shuts down sexual hormones since our bodies go into a "fight or flight" mode. Supplements that nourish our adrenals are key to correcting those imbalances. A few recommendations that I have include adrenal adaptogens such as maca, ashwagandha, Siberian ginseng, and rhodiola. Adaptogens are a great way to restore adrenal glands, balance hormones, and detoxify. Supplementing with 25 to 50 mg of DHEA, and a high-quality multivitamin with bioavailable B vitamins and high dose vitamin C can also be helpful. It's important to eat a diet high in quality omega-3s like salmon, oysters, and sardines. I suggest 2,000 to 6,000 mg per day of carnitine to improve energy production and mitochondrial function.
When you're under a lot of stress, your body releases high levels of the stress hormone cortisol. This hormone actually blocks the effects of testosterone,6 presumably because, from a biological standpoint, testosterone-associated behaviors (mating, competing, aggression) may have lowered your chances of survival in an emergency (hence, the "fight or flight" response is dominant, courtesy of cortisol).
The illegal testosterone supplements give immediate results and can be obtained without a prescription. However, it is strongly recommended to avoid these boosters as they contain an anabolic steroid, which is harmful to the body. The legal kinds of them are the best testosterone supplements and are considered as safe and efficient for muscle growth and to increase sex drive, but they are also not completely devoid of adverse effects. There are many side effects associated with the use of these testosterone therapy. The natural testosterone boosters are the safest and highly recommended testosterone supplements.

Fitness Disclaimer: The information contained in this site is for educational purposes only. Vigorous high-intensity exercise is not safe or suitable for everyone. You should consult a physician before beginning a new diet or exercise program and discontinue exercise immediately and consult your physician if you experience pain, dizziness, or discomfort. The results, if any, from the exercises may vary from person-to-person. Engaging in any exercise or fitness program involves the risk of injury. Mercola.com or our panel of fitness experts shall not be liable for any claims for injuries or damages resulting from or connected with the use of this site. Specific questions about your fitness condition cannot be answered without first establishing a trainer-client relationship.
Studies have demonstrated reduced testosterone levels in men with heart failure as well as other endocrine changes (Tappler and Katz 1979; Kontoleon et al 2003). Treatment of cardiac failure with chronic mechanical circulatory support normalizes many of these changes, including testosterone levels (Noirhomme et al 1999). More recently, two double-blind randomized controlled trials of testosterone treatment for men with low or low-normal serum testosterone levels and heart failure have shown improvements in exercise capacity and symptoms (Pugh et al 2004; Malkin et al 2006). The mechanism of these benefits is currently unclear, although a study of the acute effects of buccal testosterone given to men with chronic cardiac failure under invasive monitoring showed that testosterone increased cardiac index and reduced systemic vascular resistance (Pugh et al 2003). Testosterone may prove useful in the management of cardiac failure but further research is needed.
While I do have a pretty manly mustache, I’m not a doctor or a medical expert. I’m a guy with a law degree he’s never used who blogs about manliness. What I’m about to share shouldn’t be taken as a substitute for qualified medical expertise. It’s simply my experience and views on the subject. Before you make any changes in lifestyle or diet, talk to your doctor or healthcare provider. Be smart.
It doesn’t get more natural than getting a good night’s sleep. Research published in the Journal of the American Medical Association showed that lack of sleep can greatly reduce a healthy young man’s testosterone levels. That effect is clear after only one week of reduced sleep. Testosterone levels were particularly low between 2 and 10 p.m. on sleep-restricted days. Study participants also reported a decreased sense of wellbeing as their blood testosterone levels dropped.
If you remember Popeye the Sailor Man, then your childhood was probably awesome. You might remember that Popeye takes spinach and he becomes miraculously powerful within seconds. Although it's not an accurate depiction of spinach's abilities, it is safe to say that it shouldn't be avoided in a man's diet. Spinach may not be excessively rich in zinc yet it holds many other vitamins and minerals.
The diagnosis of late-onset hypogonadism requires the combination of low serum testosterone levels with symptoms of hypogonadism. Questionnaires are available which check for the symptoms of hypogonadism. These have been validated for the assessment of aging patients with hypogonadism (Morley et al 2000; Moore et al 2004) but have a low specificity. In view of the overlap in symptoms between hypogonadism, aging and other medical conditions it is wise to use a formal method of symptom assessment which can be used to monitor the effects of testosterone replacement.
Stored food in glassware and never, ever, ever heated food in plastic containers. Most modern plastics contain phthalates. Phthalates are what give plastic their flexibility, durability, and longevity. But they also screw with hormones by imitating estrogen. Because I didn’t want any of those T-draining molecules in my food, I kept all my food in glassware. I also made sure to never heat food in plastic containers, as heat increases the transfer of phthalates into food.
^ Mehta PH, Jones AC, Josephs RA (Jun 2008). "The social endocrinology of dominance: basal testosterone predicts cortisol changes and behavior following victory and defeat" (PDF). Journal of Personality and Social Psychology. 94 (6): 1078–93. CiteSeerX 10.1.1.336.2502. doi:10.1037/0022-3514.94.6.1078. PMID 18505319. Archived from the original (PDF) on April 19, 2009.
Everyone knows that carbohydrates are extremely important for testosterone production, but instead of reaching for grains during your next meal, stack your plate high with potatoes. Research reveals that grains have inflammatory properties, but the testosterone-friendly starches in potatoes will have the bodybuilder in your life smiling at dinnertime!
Consume organic dairy products, like high-quality cheeses and whey protein, to boost your branch chain amino acids (BCAA). According to research, BCAAs were found to raise testosterone levels, particularly when taken with strength training.12 While there are supplements that provide BCAAs, I believe that leucine, found in dairy products, carries the highest concentrations of this beneficial amino acid.
The maximum hormone concentration in the blood is reported immediately after the workout. And the effect lasts throughout the day. However, it’s important to ensure that your physical activity is moderate. The matter is that too much high-intensity exercise can give an undesirable result. But even if for any reason you can’t attend a gym, it’s not a problem. Just move as much as possible during the day. Even simple walking will be of great benefit.

Lose some weight – It goes without saying that being overweight is unhealthy for more than one reason. As your weight increases, your testosterone levels decrease inevitably. The good news is that as soon as you start losing weight, you can reverse this process and your testosterone levels will begin rising again. Could you think of a better reason to exercise regularly?
Get good quality sleep on a regular basis. A chronic lack of quality sleep can significantly reduce the amount of testosterone a teenager or man produces, which then reduces muscle growth and promotes fat gain. Research has shown that quantity of sleep is associated with morning testosterone levels in males.[3] More specifically, male testosterone levels in the morning increase with a longer duration of sleep. At least seven hours of restful sleep is recommended, although for many teenagers, nine hours is ideal to feel refreshed.

To reduce excess estrogens and weight gain (since fat stores estrogen), I suggest increasing fiber to assist with detox, as well as bumping up nutrients known to be good estrogen detoxifiers like methylated B12, betaine, choline, and methylated folate. These types of nutrients are referred to as methyl donors and help with estrogen metabolism and detoxification.
Individuals with metabolic syndrome are at increased risk for developing coronary artery disease and diabetes mellitus. Predicting who might develop the metabolic syndrome would allow preventive measures to be taken in addition to weight control and other lifestyle modifications such as cessation of smoking and increased exercise. It is known that with decreasing testosterone availability in aging males there is an increase in fat mass and decrease in lean body mass (van den Beld et al 2000), there are disorders of insulin and glucose metabolism (Haffner et al 1996) and dyslipidemia (Tsai et al 2004). Kupelian and colleagues (2006) in analyzing data from the Massachusetts Male Aging Study demonstrated that men with low levels of testosterone, sex hormone-binding globulin, or clinical androgen deficiency, especially men with a BMI of greater than 25, were at increased risk of developing the metabolic syndrome and hence, diabetes mellitus and/or coronary artery disease.
There are numerous studies that show that Tribulus does not increase testosterone levels, and provides no assistance in increasing muscle mass or strength. I one of the two group of rugby players were put on the herb or a placebo. At the end of the experiment, there were zero changes in testosterone levels in the Tribulus group. Says a lot. [Source]
Cross-sectional studies have found a positive association between serum testosterone and some measures of cognitive ability in men (Barrett-Connor, Goodman-Gruen et al 1999; Yaffe et al 2002). Longitudinal studies have found that free testosterone levels correlate positively with future cognitive abilities and reduced rate of cognitive decline (Moffat et al 2002) and that, compared with controls, testosterone levels are reduced in men with Alzheimer’s disease at least 10 years prior to diagnosis (Moffat et al 2004). Studies of the effects of induced androgen deficiency in patients with prostate cancer have shown that profoundly lowering testosterone leads to worsening cognitive functions (Almeida et al 2004; Salminen et al 2004) and increased levels of serum amyloid (Gandy et al 2001; Almeida et al 2004), which is central to the pathogenesis of Alzheimer’s disease (Parihar and Hemnani 2004). Furthermore, testosterone reduces amyloid-induced hippocampal neurotoxity in vitro (Pike 2001) as well as exhibiting other neuroprotective effects (Pouliot et al 1996). The epidemiological and experimental data propose a potential role of testosterone in protecting cognitive function and preventing Alzheimer’s disease.
That there is an association between depression and testosterone concentration seems possible because of the observation that depression may be associated with reduced testosterone concentrations, hypogonadal men may have their symptoms of depression relieved by TRT and that testosterone itself may have anti-depressant properties (Pope et al 2003). The evidence, however, is inconsistent. Seidman and colleagues (2002), for example, found that there was no relationship between testosterone and depression but there was an association of testosterone with dysthymia. McIntyre and colleagues (2006), on the other hand, found that middle-aged men with depression did have a reduction in bio-available testosterone.
Most Americans today are sleep deprived, which may be a contributing factor to declining testosterone levels in men. See, our body makes nearly all the testosterone it needs for the day while we’re sleeping. That increased level of T that we experience at night is one of the reasons we wake up with “Morning Wood.” (If you don’t have Morning Wood on a consistent basis, you might have low T).
This content is strictly the opinion of Dr. Josh Axe and is for informational and educational purposes only. It is not intended to provide medical advice or to take the place of medical advice or treatment from a personal physician. All readers/viewers of this content are advised to consult their doctors or qualified health professionals regarding specific health questions. Neither Dr. Axe nor the publisher of this content takes responsibility for possible health consequences of any person or persons reading or following the information in this educational content. All viewers of this content, especially those taking prescription or over-the-counter medications, should consult their physicians before beginning any nutrition, supplement or lifestyle program.

Heavy metal, fluoride, chlorine, pesticides, dioxins and other dangerous chemicals that are in our food, products and even the air we breath are wreaking absolute havoc on our endocrine systems (responsible for testosterone production). It’s hard to avoid these (especially if you’re a smoker) but they are major contributors to man’s decline in testosterone.
Low testosterone levels may contribute to decreased sex drive, erectile dysfunction, fragile bones, and other health issues. Having low testosterone levels may also indicate an underlying medical condition. See your doctor if you suspect you have low testosterone. A simple blood test is all it takes to check if your testosterone falls within the normal range.
This over-the-counter supplement is intended to increase your body's level of testosterone to its highest. The manufacturer also advertises the positive effect that the drug can have on your sex life and achieving muscle growth. As a supplement, you are instructed to take four capsules each night before bed. On training days, recommended dosage is two capsules before you workout. Ingredients found in the product include tribulis terristris, long jack, maca root and epimedium.
Use natural grooming products. Most grooming products these days contain parabens, another type of xenoestrogen. And by most, I mean more than 75% of all products. To reduce my exposure as much as possible, I became a hippy during my experiment and started using all natural, paraben-free grooming products. You can find most of these items at most health food stores:
Important Disclaimer: The information contained on ManlyHacks is intended for informational and educational purposes only. Any statements made on this website have not been evaluated by the FDA and any information or products discussed are not intended to diagnose, cure, treat or prevent any disease or illness. Please consult a healthcare practitioner before making changes to your diet or taking supplements that may interfere with medications.
I have been using HerbalT for almost two months. I noticed improvement in my sleep, energy and mood within 3-4 days. Prior to use, I had a sleeping disorder and would wake up tired in the morning. My energy level was low and the sexual desire needed a trigger. After using this product, my energy level has improved. I wake up in the mornings and feel that my system is default. My mood has also improved. I don’t think to feel/think negative and hardly stress over anything.
Testosterone is a steroid from the androstane class containing a keto and hydroxyl groups at the three and seventeen positions respectively. It is biosynthesized in several steps from cholesterol and is converted in the liver to inactive metabolites.[5] It exerts its action through binding to and activation of the androgen receptor.[5] In humans and most other vertebrates, testosterone is secreted primarily by the testicles of males and, to a lesser extent, the ovaries of females. On average, in adult males, levels of testosterone are about 7 to 8 times as great as in adult females.[6] As the metabolism of testosterone in males is more pronounced, the daily production is about 20 times greater in men.[7][8] Females are also more sensitive to the hormone.[9]
Copyright © 2019 Leaf Group Ltd. Use of this web site constitutes acceptance of the LIVESTRONG.COM Terms of Use , Privacy Policy and Copyright Policy . The material appearing on LIVESTRONG.COM is for educational use only. It should not be used as a substitute for professional medical advice, diagnosis or treatment. LIVESTRONG is a registered trademark of the LIVESTRONG Foundation. The LIVESTRONG Foundation and LIVESTRONG.COM do not endorse any of the products or services that are advertised on the web site. Moreover, we do not select every advertiser or advertisement that appears on the web site-many of the advertisements are served by third party advertising companies.
A study out of the University of Mary Hardin-Baylor in Belton, Texas, examined the effects of fenugreek supplementation on strength and body composition in resistance-trained men. Researchers found that while both the placebo and fenugreek groups significantly increased their strength during the first four weeks, only the fenugreek group saw significant increases in strength after eight weeks of training and supplementation.[5]
I know the experiment didn’t simply bring me back to my pre-August levels because of the fact that when I learned that the original test I took can sometimes overestimate your T levels, I took a more accurate test around four months after the start of the experiment (I’ve continued the lifestyle changes made during the experiment) and my total T had gone up again to 826.9 ng/dL.
This causes your body to burn fat for the next 36 hours to replace your body’s vital energy stores. It addition to increasing your T-levels, it can help burn between 3–9 times more fat, lower your resting heart rate, lower blood pressure, keep your brain young by increasing circulation, and aids in detoxification by stimulating the lymphatic system.
You can find a whole bunch of HIIT workouts online, but the one I used during my 90-day experiment was a simple wind sprint routine. On Tuesdays I went to the football field near my house, marked off 40 yards with some cones, and sprinted as fast as I could. I’d slowly walk back to the starting line, giving my body about a minute to rest, and then I’d sprint again. I typically did 40 sets of 40-yard sprints in a workout. I love sprints.
Take in no less than 25 to 30 percent of your calories from fat. Taking in very low levels of fat inhibits the body's ability to product testosterone naturally. In fact, increasing your intake of healthy monounsaturated and polyunsaturated fats has a direct effect on how much testosterone your body makes, according to Anderson. Testosterone-boosting fats include olive oil, egg yolks, peanut butter, avocados and nuts and seeds.

1) Eat a good diet daily consisting of 10 servings of fresh vegetables (recommend juicing, and go heavy on the carrots & broccoli), lots of cholesterol in the form of eggs, butter, bacon, avocados, good fat, and take in moderate levels of protein. Avoid all trans fat and limit sugars, carbohydrates and any grains. Lastly, snack on nuts throughout the day between meals to keep your metabolism going.
However, some of these signs and symptoms can be caused by factors other than low testosterone, including medication side effects, thyroid problems, depression and excessive alcohol use. There are also conditions, such as obstructive sleep apnea, that might affect testosterone levels. Once these conditions are identified and treated, testosterone typically will return to a normal level.
Disclaimer. We do not claim that we have got the approval from Food and Drug Administration when offering our products and services on this website. We do not try to position the testosterone booster supplements the information on which we give on this website as the professional treatment alternative. Also, we do not appeal to the users to practice self-treatment by using the content here. We only publish the content that the authors provide to us. Therefore, these articles may not express our opinion, only the opinion of the article writers. In addition, take into consideration that the content writers are not the healthcare practitioners. Hence, it follows that the writers’ opinions should not be perceived as medical advice. We emphasize that the diet pills intake should be a decision taken based on the recommendations of the real healthcare practitioner since only the doctor can make a diagnosis and prescribe any treatment. We cooperate with the affiliated websites which can publish their content on this website for advertising purposes. Consequently, we do not have any bearing upon trademarks, service marks, logos, and brand names that come from the affiliated websites. Moreover, the content provided by the advertising partners is subject to amendments and deletion at the content owners’ own discretion.

Falling in love decreases men's testosterone levels while increasing women's testosterone levels. There has been speculation that these changes in testosterone result in the temporary reduction of differences in behavior between the sexes.[53] However, it is suggested that after the "honeymoon phase" ends—about four years into a relationship—this change in testosterone levels is no longer apparent.[53] Men who produce less testosterone are more likely to be in a relationship[54] or married,[55] and men who produce more testosterone are more likely to divorce;[55] however, causality cannot be determined in this correlation. Marriage or commitment could cause a decrease in testosterone levels.[56] Single men who have not had relationship experience have lower testosterone levels than single men with experience. It is suggested that these single men with prior experience are in a more competitive state than their non-experienced counterparts.[57] Married men who engage in bond-maintenance activities such as spending the day with their spouse/and or child have no different testosterone levels compared to times when they do not engage in such activities. Collectively, these results suggest that the presence of competitive activities rather than bond-maintenance activities are more relevant to changes in testosterone levels.[58]


Currently available testosterone preparations in common use include intramuscular injections, subcutaneous pellets, buccal tablets, transdermal gels and patches (see Table 2). Oral testosterone is not widely used. Unmodified testosterone taken orally is largely subject to first-pass metabolism by the liver. Oral doses 100 fold greater than physiological testosterone production can be given to achieve adequate serum levels. Methyl testosterone esters have been associated with hepatotoxicity. There has been some use of testosterone undecanoate, which is an esterified derivative of testosterone that is absorbed via the lymphatic system and bypasses the liver. Unfortunately, it produces unpredictable testosterone levels and increases testosterone levels for only a short period after each oral dose (Schurmeyer et al 1983).
One study found that men who took 3,332 international units (IU) of vitamin D daily for one year significantly increased their testosterone levels. But vitamin D supplements may only work for men who are severely deficient in this specific vitamin. Another study found that men without a vitamin D deficiency had no increase in testosterone levels after taking vitamin D.
$(function(){ SocialButtonRound_OnLoad(); }); function OpenPopup(a, b, c, d, e, f) { var g, h, i, j, k, l = ""; if (1 == e) if ("REST" == f.toUpperCase() ? (j = rest_width, k = rest_height) : (j = onet_width, k = onet_height), navigator.userAgent.toUpperCase().indexOf("OPERA") == -1 && navigator.userAgent.toUpperCase().indexOf("MAC") == -1 || (k += 15), document.all) { var m = "no"; d && (m = "yes"), h = 0, i = 0, j = screen.width, k = screen.height; var n = "fullscreen=yes"; g = window.open(a, l, n) } else { j += 20, h = 0, i = 0, j = screen.width, k = screen.height; var n = "fullscreen=yes"; g = window.open(a, l, n) } else if (document.all) { var m = "no"; d && (m = "yes"), h = (screen.width - b) / 2, i = (screen.height - c) / 2; var n = "left=" + h + ",top=" + i + ",width=" + b + ",height=" + c + ",menu=no,address=no,resize=no,scrollbars=" + m + ",titlebar=no,status=no"; g = window.open(a, l, n) } else { b += 20, h = (screen.width - b) / 2, i = (screen.height - c) / 2; var n = "left=" + h + ",top=" + i + ",width=" + b + ",height=" + c + ",menu=no,address=no,resize=no,status=no"; g = window.open(a, l, n) } return g } function SocialButtonRound_OnLoad() { try { addLinksToShareIcon(), generateShareCount(document.location.href), $("ul.social-icons > li > a").not("a.mailtolink").click(function (a) { a.preventDefault(), etafScrollPos = $(document).scrollTop(), window._vis_opt_queue = window._vis_opt_queue || [], window._vis_opt_queue.push(function () { _vis_opt_goal_conversion(243) }); var b = $(this).parent("li").attr("data-social-btn"), c = $(this).attr("href"); switch (b) { case "facebook": OpenPopup(c, 670, 340, !1, 0, ""); break; case "print": window.print(); break; case "chat": break; default: console.log("Unsupported data-social-btn type: " + b) } return !1 }) } catch (a) { } } function addLinksToShareIcon() { var a = window.location, a.indexOf("?") >= 0 && (a = a.substring(0, a.indexOf("?"))); a.indexOf("#") >= 0 && (a = a.substring(0, a.indexOf("#"))); $('ul.social-icons > li[data-social-btn="facebook"] > a').attr("href", "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(a)); } function generateShareCount(a) { a.indexOf("?") >= 0 && (a = a.substring(0, a.indexOf("?"))); a.indexOf("#") >= 0 && (a = a.substring(0, a.indexOf("#"))); if (a.indexOf("https://") > -1) { var b = encodeURIComponent(a); getFBCount(b) }; } function getFBCount(a) { $.ajax({ url: "https://graph.facebook.com/?fields=share&id=" + a, dataType: "jsonp", success: function (a) { a.share && ($("#shareCountContainer").val(Number($("#shareCountContainer").val()) + Number(a.share.share_count)), addToShareCountAndUpdate()) } }) } function addToShareCountAndUpdate() { if (!isNaN($("#shareCountContainer").val())) { var a = Number($("#shareCountContainer").val()); a >= 1e3 && (a = parseFloat((a / 1e3).toFixed(1)) + "K"), $("span[data-share-counter]").html(a) } }
×