Fetching twitter feed into IOS app - objective-c

I'm trying to fetch twitter feeds of a certain user into my IOS app. First I got it working with this link.
https://twitter.com/status/user_timeline/wwwkrcgenkbe.json?count=25&from=wwwkrcgenkbe
But when I tested it I got the following error:
{
"errors": [
{
"message": "Sorry, that page does not exist",
"code": 34
}
]
}

Twitter recently switched off that API endpoint. (https://dev.twitter.com/docs/faq#11716)
You need to be using URLs with the format api.twitter.com/v1.1/.
I suggest reading the latest API documentation, this will probably be a good place to start: https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline

Related

Google API to fetch the list of reviews of any app using oAuth2.0 - 403 error in postman

I wanted to fetch google play reviews of any application. I'm trying with google API using OAuth2.0 in postman.
I'm trying to use this API:
https://developers.google.com/android-publisher/api-ref/rest/v3/reviews/list
I've added the required scopes as well.
When I try to send the get request in postman after generating an access token,
I'm getting this as a response.
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}
is it possible to access any app reviews or only the app reviews which were developed by us?

Google Play console REST API get subscription details

I'm trying to use this API to get subscription information but I get the following error
{
"error": {
"code": 403,
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.",
"errors": [
{
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.",
"domain": "androidpublisher",
"reason": "projectNotLinked"
}
]
}
}
I have enabled Google Play Android Developer API in the Google Cloud Platform.
and also completed all OAuth consent screen and set up the scope
Ref Video

Can't recieve information from my blogger site using a Get request and v3 API

When I do an GET to the test google site in the docs the blogger documentation the request works fine.
When I do a GET to my personal site I get this error:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}
Working:
https://www.googleapis.com/blogger/v3/blogs/2399953?key=AIzaSyA-6DkaL7Ff_U5Xwm4c_0XoCA_I4G1E24U
Non working:
https://www.googleapis.com/blogger/v3/blogs/657661307303?key=AIzaSyA-6DkaL7Ff_U5Xwm4c_0XoCA_I4G1E24U
I DO have the blogger v3 API enabled. My key is working as shown above. My blog is set to public and can be viewed here:
http://mutant1098.blogspot.com/
Also I see the failed requests coming into my bloggers dashboard.
I don't understand what the issue is. Why is it working on google bloggers main site but not my personal site.
I scoured the API dashboard for any permissions issues but couldn't find any that looked like the problem.
Thanks in advance for any guidance. This looks like a great platform just wish it was either easier or better documented.
Your blog ID must be incorrect, because the call to getByUrl works:
https://www.googleapis.com/blogger/v3/blogs/byurl?url=http%3A%2F%2Fmutant1098.blogspot.ca%2F&key=AIzaSyA-6DkaL7Ff_U5Xwm4c_0XoCA_I4G1E24U

401 with Google Proximity API

after following the step-by-step instructions (https://developers.google.com/beacons/proximity/guides) I can successfully enable the Google Proximity Beacon API and create both API key and OAuth 2.0 client IDs for the App I created in the Google Developers Console.
Everything appears to be set up fine: the Google Proximity Beacon API shows to be active and "Credentials" tabs shows both API Key and OAuth 2.0 client ID.
The problem occurs when I try calling my Beacon: the Response gives me a "401" error:
...
"code": 401,
"message": "The request does not have valid authentication credentials.",
"status": "UNAUTHENTICATED"
...
The strange thing is that if I try the oauthplayground, again following google's proximity docs, I get a 403 error:
{
"error": {
"status": "PERMISSION_DENIED",
"message": "Project has not enabled the API. Please use Google Developers Console to activate the 'proximitybeacon' API for your project.",
"code": 403,
"details": [
...
I'm kind of lost here...anyone?
Thank you in advance.
Flik

Rails sign in facebook

I use omniauth-facebook gem. Generally I'm completely following railscast episode #360 (http://railscasts.com/episodes/360-facebook-authentication?autoplay=true)
So I did all like in tutorial.
After creating app on facebook, I set it URL a http://localhost:3000/, enabled sandbox mode.
As Ryan says, after creating omniauth.rb, http://localhost:3000/auth/facebook should redirect me to my FB app page.
But nothing happens. No errors, just empty page.
I'm really sure, that did everything like in tutorial, and have no idea, what the trouble is
UPD: now it shows error:
{
"error": {
"message": "Missing client_id parameter.",
"type": "OAuthException",
"code": 101
}
}