I've got some messy thing with Facebook "Share this" module.
Some time ago Share button stopped working properly. When someone clicks Share this, link with content appear at his wall, but people can't see this action in recent posts, they need to open his/her wall to see this. What happened with Facebook? Anyone know?
It is probably determined to be low quality by Facebook algorithms and thus not showing in the recent feed. If this is published via an application, check the insights on your application.
Related
I have written a PHP based blog for the company i work for. Not using any frameworks. I am having trouble tracking users who come from my facebook page's posts to my blog (not wordpress).
I have created a shortlink url. Let's say it is sample.co and it redirects traffic to sample.com. Everything seems fine until here. The problem starts here.
I am adding all user's ip's, user agents. But if even i get 500 visits, my code adds somethig like 3.000 visits. Facebook stats and Analytics shows similar stats (~500 visits). I see that ip's added to MySQL are all different. It usually happens with Android users. I have read somewhere that Facebook sometimes renders to their users the actual URL when FB shows the post. I mean instead of the widget, Facebook shows the whole page. I am not quite sure about that to be honest.
To solve this problem, I have created and added an jquery script to my page and listened users' scroll event. It worked great. Not seeing too much traffic. But this time the problem is i am counting less users. Even I get 500 users from facebook and Analytics shows similar results, my script adds only 200-300 to MySQL.
Does anyone know a better way to track real traffic? Or do you aware of such problem?
Thanks
It should be filtered on the basis of user agent.
https://developers.facebook.com/docs/sharing/webmasters/crawler
how to detect search engine bots with php?
Identifying users through IP is a good idea, but if your IP keeps changing, it's a good idea to use cookies.
http://php.net/manual/en/function.uniqid.php
If the cookie does not exist, you should see it as a new user.
I have found the answer. The problem is called preview (prefetch). Here is the link:
https://www.facebook.com/business/help/1514372351922333
Simply, facebook preloads everything when FB shows the thumbnail to the visitor to speed up your page's load speed. They send X-Purpose: preview header. So you can simply check if HTTP_X_PURPOSE header's value is preview or not. If so, do not count it as a visitor.!
Here are more detailed descriptions:
http://inchoo.net/dev-talk/mitigating-facebook-x-fb-http-engine-liger/
http://inchoo.net/dev-talk/magento-website-hammering-facebook-liger/
I got a trouble. I searched whole stackoverflow and still cannot find the answer.
I read, that there were some changes with facebook scripts that you can't post to other users walls (i got the simple script and still got the message "(#200) Feed story publishing to other users is disabled for this application".
I got my own app, got the secret etc.
I am trying to do the button, that when user on my site (which is connected with facebook to it) clicks on it, there pops up a form with information to fill:
To which friend we will post on the wall (list of friends)
Message (to fill)
Link (link must be added from me in the script).
If You can help me, i will be thankful.
I looked in the whole stackoverflow, tried many scripts, phpsdk etc. Many scripts worked, but only for posting on my own wall + i cant include this friends list to it.
If you got some ready scripts, i will be thankful too.
Posting on the friends wall using Graph API is deprecated now. See this discussion: How to post on a friend's Timeline after the February 2013 migration takes effect?
Only possible way to post on a friends wall- Feed Dialog
If you want to invite them then copy the js code from here and open your facebook page to invite your friends and pest this in console.
to open console got to browser setting >> more tool >> Developer tool >> and the last is console tab.
Pest the code and press Enter...
All Friends will invited to like the page...
Copy the script
Firstly, I actually spent a lot of time to search for the answer but I still cannot find a proper solution, so I decided to post a question here, hopefully some one can provide me at least ... some hints.
My problem is:
According to Facebook road map, There's a change in "Removing ability to post to friends walls via Graph API ", this affects an inviter project which I'm currently working on for my company. Now, I cannot post invitation on friend's wall, this will make our app completely useless.
I tried to figure out 2 solutions as below:
Using Facebook Graph API to post a feed on my wall and tag the friend that I want to invite on that feed. This solution works fine but it will post thousand of feeds on wall and it is not good.
Using Facebook Chat XMPP I sill cannot manage to make it work. But by using this, there's a high change that our application can be banned by Facebook because of spamming.
My question is: Besides 2 solutions above, is there any better way to post invitation on friend's wall?
If there's no other solution, can anyone tell me how to post a feed that is hidden from timeline using GraphAPI? (For timeline not be polluted by invitation feed)
Now, I cannot post invitation on friend's wall, this will make our app completely useless.
Maybe you were not supposed to “spam” walls for the purpose of inviting people in the first place … and that loophole is being closed now.
Requests/Invites are the mechanism you’re supposed to be using for stuff like this: https://developers.facebook.com/docs/requests/
I have a php script that posts links to my facebook page wall using the php sdk that works fantastic except for one minor annoyance. When my links are posted programatically via the api they do not appear in the feeds of people who like the page. When the links are posted manually they show up. My question is: is there any special considerations I need to take into account to make those automatic posts show up or is this just how facebook's algorithm works when choosing content for the feed? I suspect this is more of policy issue than a technical one but facebook has been changing things around so I don't want to jump to conclusions. Any insight would be appreciated.
So I discovered that facebook intentionally penalizes you for auto-posting through the api. Read here: http://sproutsocial.com/insights/2011/04/facebook-penalizes-you-for-automating-your-page-updates/
Bastards. Oh well. Question answered.
Try using the latest version of the API. Maybe they've resolved a previous bug.
I have a blog (wordpress) and a facebook fan-page for my blog (with more than 1 fan!). I would like to post a message to my FB wall, every time I post something on my blog. Preferrably PHP.
The same question is already asked here, but this question isn’t going anywhere. The question dates from march, but Facebook has updated their API since. The FB documentation gives three different methods for posting to the wall, but I cannot figure out which is the easiest/best one to use.
Does anyone have a link to a full tutorial or a short walktrough how to get this done?
(Currently, I’ve got the Ping.fm app setup, who gets its data from twitterfeed. The drawback is that the links get shortened, and Facebook cannot get the first picture and full title.)
API posting to a Facebook Fanpage (not sure if it is to wall specifically) success claimed (and explained in reasonable detail) over on this comment:
http://getsatisfaction.com/pingfm/topics/posting_updates_to_facebook_fan_pages_api_supports_it#reply_1038558
Why not use the standard "Imported Sites" feature that reads your blog's RSS feed? Get to it from Wall -> Options (below share box) -> Settings -> Blog/RSS under Imported Sites.
See http://www.tech-recipes.com/rx/2885/facebook_import_blogs_rss_feeds_without_third_party_applications/ for more information.