I see many apps saying that "if you give 5 star rating to our app you will receive 1000 coins." The user can use these coins in the downloaded app. I want to implement the same feature.
How can we determine who has given 5 star rating to our iPhone app programmatically so that we can give them coins immediately after they have given the rating?
There's no official API to get reviews in iTunes, though you can get them in iTunes Connect and there are apps that scrape them (though they can be fragile). The reviews in iTunes typically show a nick name rather than anything uniquely identifiable.
So I think the short answer is you can't, at least not with 100% reliability. Also, it strikes me as the kind of "gaming" of the review system that Apple would not approve of and may reject your app for attempting.
AFAIK, You have no way to verify that an user has rated your app. To rate an app, user use his iTunes account, which you have no information about from an app.
The most probable thing is that once you clicked rate in the app, you get the coins. In other words:
is just a lie to incite ppl to rate 5... The correct label could be:
But most ppl would not rate app with this...