So recently i gave my friend a URL on facebook chat while we were discussing on how much further we have to go on a booking system, my friend says he cant open the link, when i tried clicking it worked but what caught my eye was the referring URL by facebook:
https://www.facebook.com/l.php?u=https%3A%2F%2F192.168.42.149%2FIS314%2Freservations.php
I was intrigued by the l.php (L.PHP), what actually does l.php do? I googled and a author speculated something on privacy at this page http://www.codehesive.com/index.php/archive/facebook-privacy-and-the-mystery-of-l-php/ but nothing too certain. So i was wondering if anyone has a clear idea of what l.php could be, i find this interesting (weird i know). Thanks!
No one can know what exactly that script does but the developers at Facebook.
I presume they track all outgoing links from Facebook to get some statistics on them and on the users. After that it just sends you to the external page.
Please check out the following article Facebook, privacy and the mystery of l.php which says:
Unless it’s from a public page, all you’re bound to see is one simple
referring URL: http://www.facebook.com/l.php. Facebook ‘wraps’ all
links on Facebook within this simple file — once you click on a link
in Facebook, l.php will ‘redirect’ you to the actual URL. Why Facebook
does this is unclear.
So now you have more questions to answer.
Update: Sorry, I just realised that you posted actually the same link.
Related
I am currently running several ads on facebook and I have just started using the facebook-click-id to replace facebook-pixels for the tracking. For some reason I have found that there are a lot of clicks coming in through the ads without the fbclid-parameter attached to the url as a get-parameter.
Through a google search I have found out that the only reasons the fbclid-parameter would not be attached to the url would be that the user clicking on the ad is not logged in to facebook or that the user is using his/her browser with the incognito-mode activated.
It seems odd to me that so many clicks could happen under those circumstances. Which is why I am wondering if there are other reasons why the facebook-click-id (fbclid-parameter) would not be attached to the url.
Are there any other reasons why the fbclid-parameter would not be attached to the outgoing url of a facebook ad? Thanks!
after doing some tests trying to solve the same problem, what I noticed is that fbclid parameter did not appear in outbound links when using the browser built into the mobile Facebook app.
So, I think that this is a Facebook limitation.
Hope it helps,
I am relatively new to programming and have become stuck. I am unsure of what to call this (and what to search to find the answer) so if it is a duplicate or the answer can be found easily please forgive me.
So on my site I give a referral URL to users which is something like
www.example.com/referral.php/?id=1234
My problem comes from when someone visits my site with that link.
Once they click the enter that link and come to my server. They are then prompted to login through Steam servers and after that they are returned to my site with a URL which is something like this
www.example.com/referral.php?login&openid.ns=... it continues on for a while.
Is it possible to have them return to my site with this link?
www.example.com/referral.php/?id=1234
As it is what my site uses to register referrals.
Or is there some workaround possible such as I pull the id and put it on a cookie or something similiar on the first visit to the site.
Thanks for the help.
I'm trying to add a Share button to my website's various pages but I've found so many options I don't know which one is the most correct.
Official method:
https://developers.facebook.com/docs/plugins/share-button
I can't get this to work. If you'd like to check out a live example on my website pls comment :-) The share button appears, I click it, it opens but when I click 'share' again in the dialog, nothing happens. (the fb account is fine, I checked using other website's share buttons)
SO answer using share.php which I heard was no longer officialy supported:
facebook Sharer popup window
Finally the facebook share dialog (official):
https://developers.facebook.com/docs/sharing/reference/share-dialog
This method lists the use of 'app ID' which I'm having trouble with. It says to use a public ID and it IS required (not according to several SO questions), and I can't find how to do that.
Hence, I ask: What is one method that will surely work to implement normal share button (topic+image+small description) on my website?
Thank you.
I'd really need to see more of your implementation, but I have some thoughts.
As Facebook always requires the use of their Javascript SDK for their recent tools, you could check out that the SDK is loaded correctly.
Another thought: The SO answer with sharer.php seems a decent starting point. If you don't need everything to happen in a window/overlay, you can just create a simple link and point it to
https://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D=Google&p%5Burl%5D=http%3A%2F%2Fwww.google.com
with p[title] as the page title and p[url] as the url of the page you want to share. This has been a reliable solution for me for years, as it doesn't rely on any Javascript and works in virtually all environments.
If you like you can always make the link open in a window via Javascript you can add yourself, so it's easy to debug.
This has been asked before but I haven't seen a definitive answer. Hopefully someone has an answer. Basically, it seems impossible to pull any post that is geo-tageted via the API becasue it has privacy settings, that is, a country set to who can see it.
I am using https://graph.facebook.com/".$pagetoprocess."/posts?&access_token=".$att and this will pull the posts but not any posts that are geotargeted to the UK for example.
If I create an accesstoken from a user who is an admin of the page then I see all posts including geotargeted posts.
Why would this be? how can I see all posts for any page whether I am an admin or not or whether it is geo-targeted?
I would have thought that if you creaded an app in the UK and therefore had an app and secret id code from which you then generated a user access token, why would you not be able to see a post from a page geo-targeting the UK? Seems strange.
Any ideas?
Thanks
Jonathan
I would think that all posts would appear, or at least that is what it says on the api. You could try using feed instead of posts, since posts is a derivative. You might also try using:
&include_hidden=TRUE
But I'm not sure that will help.
If you have the page url, I'd be willing to see if I can play around with it in the graph explorer.
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.