REST API Error on iOS 7


Hi i am using REST API V1.1 for sharing status i have used the oauth API links to authenticate.

Its working fine in ios 6 and below now i am working on converting my application to support iOS 7. i have got this error message in iOS 7 alone
{“errors”:[{“message”:“Could not authenticate you”,“code”:32}]}
Can you please help i can’t able to find the reason the same code working in iOS 6.