The Facebook API does not provide any such functionality. The closest you will come to this is using a statistic tracker, which will count the number of hits your profile gets, though it won’t tell you who it was.

which statistic tracker does work like that?
is there something that can tell you how many times your profile was viewed ?
i am asking about profile views, whenever someone visits my profile, it will be add + 1 to counter ? how can it be done?

Yeah, there are a lot of apps that will do this, one of them is Profile Counter. Basically, it checks to see if the current viewer is equal to your ID, if it is, don’t increment the profile view count. If it isn’t your ID, it’s obviously somebody else and it will increase the view count.

Test it yourself, it will never work, it is really simple to accept, that you can not edit facebook interface, it looks like you have edited because you do it on your end, not other people will see what you have installed on your profiles.
it is same like those blue smileys who is visible only to users of that app.

No wonder why this spam still works, even a smarty like you is looking for it!
I have seen an app, which just randomly posts stats that i have visited profile of xyz person n times,or i have 2nd rank in the visitors of a person,
and people will believe it, because they don’t know it is impossible.
this really embarrasses friends of the person who use such things.

Even if you find a successful way of counting visitors and share it publicly, I am sure facebook will notice it and, the medium or application will be disabled within a month or a week max.
because it is Mr. Mark’s world :)

NO, and anyone or anything who claims that it can be done, is spreading spams and scams.
dont click on anything that reads like this.
else it will be posted on random places from your profile, or dont post such links by yourself if it asks you to do so.

What error messages, if any, do you receive? Include any screenshots that are relevant.

Your operating system:

Your browser:

Search before you ask

Search MakeUseOf for similar questions before posting your question.The
search box is in the upper right.

Be clear

Use clear English. We edit questions before publishing, but if we cannot
understand your question, we will have to reject it.

State your goal, it helps us find solutions!

For example, it is much better to say “I want to extend my WiFi at home.
How should I do that?” than “How good are WiFi repeaters?”

Be detailed

Provide the details other people would need to answer your question. For
example, saying your phone is broken is not that helpful. Saying that your
Moto G phone with Android 4.4.2 shuts down every time you start Chrome
gives us a lot more to go on. Provide any relevant information such as
error messages, odd behavior, location (for location-specific questions),
etc.

Be nice

If you find a solution, please mark your question as answered and leave
a comment saying what worked (or didn’t work) for you. It will help others
with a similar problem to find a solution when they search the site. Thanks!

For tips on how to ask a question in order to get better answers faster,
please read
smart questions.