twitter's tweet button count does not count - php

I have a php generated wep page which has a lot of share buttons. Twitter, facebook and google+.
I have used the code that twitter gives for the tweet button, and it works fine.
You click it, the window pops up, you tweet.
My problem is, the count next to the button seems to be working normally throughout the site, except the photo gallery, which seems stuck at 0 even though I have tweeted it to test.
My page is here
Is there some obvious error in it?
Also, are there any tools for detecting such errors for twitter like facebook has the OG debugger?

I don't know what exactly the problem is. I have faced with such issues in the past. May be an issue with twitter.
There are a few problems related to this.
If the link is shortened, Twitter won't add it up unless you add the "counturl" url property.
You may try adding these parameters in the tweet button code. This worked for me in one of my projects
data-url="http://dev.twitter.com/pages/tweet_button"
data-count="vertical"
data-counturl="<?php echo $_SERVER['PHP_SELF']; ?>"
Also another issue with twitter tweet button is that the tweet counts are not accurate in real time. They are cached and updated asynchronously. See http://dev.twitter.com/pages/tweet_button_faq#count-api-increment

Related

Twitter Sharing URL from personal site is not working as expected

I have a new website, which I've just uploaded my first blog post onto.
I have social sharing buttons on the page, but a few don't seem to work as expected.
In Twitter the URL doesn't appear at all. Its as if its ignored. Here's the twitter link:
https://twitter.com/intent/tweet/?url=http://www.andrewburns.info%2Fblog%2Ffirstsortedvalue+function+in+Qlikview+script.php&via=AndyBurns89
Facebook and Reddit work fine. Google plus cuts off the URL after the first space, even though i used urlencode on the link:
https://plus.google.com/share?url=www.andrewburns.info%2Fblog%2Ffirstsortedvalue+function+in+Qlikview+script.php
I tried posted the link directly into Twitter and it doesn't seem to recognise that its a webpage at all. It doesn't shorten the link down like it normally does.
Have a look at this https://dev.twitter.com/web/tweet-button/web-intent. Take a look at the query parameters and notice the http:%3A%2F%2Fexample.com%2F

Is PagePeeker updating the "screenshot" anytime? (used in TimelineJS)

I have implemented TimelineJS on my site, Pixic.se, using data from mySQL database and format it through PHP. Everything is working fine. But there is a feature in TimelineJS called PagePeeker, which is rendering a screenshot of links that aren't links to supported sites, such as
Youtube
Wikipedia
Google Map
Flickr
Twitter
Vimeo
SoundCloud
or writing a blockquote.
Problem
The first time I got the TimelineJS to work properly it rendered screenshots for the links I have in my timeline, including my own site.
Since then I have updated the layout and would like to have PagePeeker update the rendered screenshot, since at least on my computer, the screenshot still shows the old site design/layout (with a jumbotron that says "Welcome to Pixic.se, some smaller text and a btn-primary button) even though I have deleted cache/history.
I visited Pagepeeker.com and entered my URL and then it generates a preview with the timeline, i.e. the current design/layout, but it doesn't affect when I go back and check my own site. Also, the rendered screenshot at PagePeeker makes the Timeline look weird...the whole timeline only filling about 40% of the page width.
Questions
If you take a look at Pixic.se timeline's first story, do you see a grey navbar and the jumbotron described above or do you see the current design/layout?
Are PagePeeker screenshots stored at PagePeeker or only rendered if the visitor doesn't have it cached?
Is there any way to get PagePeeker render the sites again and perhaps even have it done regularly, by interval using META tags or similar?
Additionally, I tried to add a link to Google Charts, but it did not work. It only outputted the URL as a string where the PagePeeker screen would have been. Any idea why?
PagePeeker supports refreshing of the thumbnails via an API call, for premium accounts. Other accounts do not support it.
Thumbnails are cached 7 to 14 days, depending on how much they are used.
One way to force a refresh would be to add a random string after the URL like: http://pixic.se/?random=234234234

Facebook Like button stopped working suddenly

My fancy OpenGraph Facebook like button for my quotation mashup suddenly decided to stop working. It now says I provide an invalid url. The url is basically quotation?q=123 with 123 being the currently displayed quotation. They are usually generated randomly when someone arrives at the page.
All was fine, now it seems to be implying I can't have URLs like this, must I encode them? Or that I have meta tags that OpenGraph needs wrong or in the wrong place. It was odd that it suddenly started working, even the example from Facebook is showing the error:
Invalid URL
The requested URL "/plugins/like.php?
Did Facebook break?
I used some development tool they provide to get more info, which seems to baffle me even more as my meta tags are inside the head tag.
Debugging info from Facebook
Ideas, just wait to see if Facebook fixes itself?
Something must have been wrong with the mothership, as a day later give or take a few hours, my webpage (app) with the fanciest like button is working as expected again.
Quotation Mashup

when doing a 'like' on one of our page, the 'like' is posted twice

We just implemented a Facebook like button everywhere on our site. However, it works a little bit weird on one of the pages.
If you click on the like button anywhere and then write a comment, it only posts once on Facebook. This is the correct behavior.
Unfortunately, on the another page it creates two items on your Facebook wall.
Has anybody previously seen the same problem on any site?
I use an iframe, and the link is what I call there:
www.facebook.com/plugins/like.php?href=%s;send=false&layout=standard&show_faces=false&;action=like&colorscheme=light&font=arial&height=35&appId=%s
The first %s is the current URL, the second %s is an appid.
Its a common bug, ive got a facebook like box too. And when i like my own page it will be liked twice. You cant do anything about it. Other visitors who like your page will only show up once.

Facebook Social Comments Plugin not able to link to post content

I would be grateful for some assistance with Facebook Social Plugins.
I have a bunch of portfolio items on my website that are rendered with a fb-comments-plugin at the bottom of the page.
At the top of the page (in the header) is a "like" button that is designed to cover the whole site (i.e. if you "like" the site - click the "like" at the top of the page). But, if you want to "like" the post - click the "like" alongside the post.
Anyway, every now and again - the comments plugin on one of the portfolio items indicates to me:
"Warning: {url} is not accessible"
This does not appear to be consistent across all items. For instance:
http://www.greensidefilms.com.au/portfolio/bride/
does not work, but:
http://www.greensidefilms.com.au/portfolio/twilight/
does work...
Confused I am, seeing as it is exactly the same code generating all these pages.
Is there something not quite right with the og meta tags that is causing the plugin to be confused?
Those links you provided are dead
I had some trouble when I first started working with the Facebook social plugins and found that the problem you are describing is with the APP ID, it is designed to work with a domain in your case yes it is the same domain however you should double check if the same APP ID is being used in all your plugins, using the wrong APP ID will cause that kind of behavior.

Categories