Requests from Facebook IPs on Server - facebook

We are running some ads through Facebook's Ads Manager.
We get requests on our server from Facebook IP addresses that don't show up as clicks in the Ad Manager.
We were wondering if this is due to Facebook rerouting traffic through their servers or if Facebook uses some kind of crawler to test the pages linked to in ads?
For our internal stats, we want to be counting real visits only.

Yes facebook does use crawlers to fetch the content from the page. As well alternatively, take a keen look at the URL parameters that get embedded when a real click is done. You can test the same by noting down your IP Address, clicking on the link, then in your logs, inspect the request for 2 things:
URL Parameters
Referer Header
Using the combination of the above 2, you can monitor the actual clicks and facebook crawler requests. As well User-Agent is another good indication.
If you want to filter based on IP Addresses, you can find all the Facebook IP Addresses from the Github repo which I have created and gets updated daily !
Link: Facebook IP Addresses
Do let me know in case of any further queries !

Related

How to check whether my Domain is Blacklisted on Facebook or not?

I have a Facebook page of my blog but whenever I try to schedule post my blog article links on the Facebook page The Facebook automatically delete my schedule post and even some time they do not publish it can it be the reason that my domain name has been declared SPAM by the Facebook how to check it.
Use the Facebook sharing debugger.
If you input a URL that redirects to the blocked URL, it will initially say "this webpage contains a blocked URL. If you input the blocked URL directly, it will say "We can't review this website because the content doesn't meet our Community Standards. If you think this is a mistake, please let us know." You also get this message if you put in a URL that redirects to the blocked URL a second time.
https://developers.facebook.com/tools/debug/sharing/
:It is often hard to tell the reason for this but, you can definitely get out of this by following the proper instructions.
First check if your domain is prohibited or just penalized by the search engine. Or, maybe it is neither prohibited nor punishable by the domain name. It could be, you just managed to screw up your site.
Simply check this via online tool -isitban.com by entering your domain or website url.
Once found banned then, check your website content & remove content which is violating any Community Standards of facebook.
Once you are done with content optimisation then send your Facebook website again for review

How does archive.is work?

I'm able to upload facebook profile pages through archive.is. Which means facebook doesn't think that it was a proxy / bot and doesn't even ask for a captcha. It even shows some man being logged in (!!!) on the shots of pages. As your can check yourself, this profile is named Nathan, and it's the same profile for all shots.
When I'm trying to archive ip-check site, it shows my own IP saying that I'm under the Netherlands proxy.
First, how does it work?
Second, how come this user Nathan isn't banned from Facebook for the "suspicious activity" because he visits thousands of randomly looking pages a day, is automated, and detected as being under the proxy by ip-checking sites, and he isn't even asked to complete a captcha, not a single time? How do I do the same?

Open Graph (and Facebook): the domain <my domain> is not allowed for the specified application id

Just got this message from the FB debugging tool : is not allowed for the specified application id. I'm trying to post a story using Open Graph on Facebook. Right now I'm using the Graph API Explorer, but will eventually use the Facebook SDK.
I AM using a different domain from the domain I'm using to host the meta tag URL. My understanding was that Open Graph needed a publicly accessible page from which to read meta tags. I was under the impression that this page DID NOT have to live at the same domain as my app. Is that wrong? So, does this mean that the page with all the meta tags has to live on the same domain as my web site?
To be clear: the FB app is configured to use domain X, but I'm hosting the OG page on domain Y. Is that a problem?
Update:
Okay, I'm still getting the error this AM. It seems like I'm getting contradictory info. Given that this is Facebook support, is there some way I can escalate?
I still don't know what the issue is, but I was able to get this working by changing my local dev URL to an address that shared the same domain as the URL that was hosting the OG object I needed.
So, locally I've set my environment up to be: mylocal.sample.com, and the OG is hosted at public.sample.com.

Allowing hotlinks for facebook

I am building a site, in which I denied hotlinking of images. But after I added the facebooks "like" link to my pages, I realized that I want to allow hotlinking for facebook. So, if a user likes a page on my site, facebook should be able to show a related thumbnail of the page in the profile of the user. So, I added an exclusion rule in IIS like
if {HTTP_REFERER} matches pattern ^(https?://)?(\w+.)facebook.(com|net)(/.)*$ , allow.
Alas, it didn't work for me.
After that I googled for an answer. A forum post suggested to use "tfbnw" instead of facebook, so I added that exclusion, too:
^(https?://)?(\w+.)*tfbnw.(com|net)(/.*)*$
But as you might expect, still no chance.
So, I don't know which URL facebook uses to request images when a user uses the like button. I would appreciate any help to uncover this mystery, so that I can allow that URL on my site.
Note: If I disable hotlinking protection, everything works fine. So we know that my problem is just the hotlinking protection.
Can you try whitelisting with IP address? All of FB's crawlers should come from one of the IP addresses returned by
whois -h whois.radb.net '!gAS32934'
Try allowing the domain fbcdn.net:
^(https?://)?(\w+.)fbcdn.(com|net)(/.)*$
This is facebook's content delivery network.

Can i access my own FB page using just my email and passwd?

I am thinking of building an app(web or desktop) with which i can access my facebook account using only my email and password.
Is it possible?
What are the best ways ? Any tutorials or suggestions?
yes, its possible.
Check the facebook API at http://developers.facebook.com/
You would have to rely on scraping Facebook. There are a few tutorials out there but its the same as scraping any other site: watching the urls and post values that get sent back and forth, storing the session login cookie, and then parsing the returned html. However, this is against their TOS and could cause your IP or account to be banned, on top of the measures they have in place to prevent against scraping such as randomly introducing captchas if they detect bots and making sure the IP address geolocation is similar to locations the user normally access Facebook from (making it tough to do a server solution to manage users accounts with their email/password.