Chatter REST API - server returns 403 Forbidden Error.
We are calling chatter REST APIs from our site. We are using oauth for authentication purpose. We are working in .NET platform (C sharp). Till last 3 days all gone in right manner. We were getting data from chatter and we were able to post also. We tried posting comment, files, like and unlike. All well.
But from last 3-4 days we are getting 403 Forbidden error intermittently. Not getting exactly what is the issue.
While doing work around for this we got some pointers like REST API call limitation per 24 hours
http://www.salesforce.com/us/developer/docs/api/Content/implementation_considerations.htm but creating new org will also dont help, gives same error.
Some Technical details -
The salesforce environment I am using - https://ap1.salesforce.com/
Authorize url - https://login.salesforce.com/services/oauth2/authorize
Access token url - https://login.salesforce.com/services/oauth2/token
we get access token and refresh token but when we tries to call any simple API like users/me/groups or chatter/users/me, we get 403.
Can any one help us out in where we are going wrong? Is it our coding issue or server down time issue.? If it is coding issue then why it is working intermittently?