Instagram Api comment post - api

I am building an instagram application. However, when I try to post comment I get this Error message
Error:400
Error:ApiError
This client ID is not permitted to POST comments
I am able to like and unlike though
Has anyone experience this?
Thank you!

It's a restricted endpoint. You have apply and be approved (whitelisted) by Instagram.
See: http://instagram.com/developer/endpoints/comments/

Related

Instagram - Get Direct Message

I'm writting a new post, because all of topics that was related with getting Instagram Direct message via API are a little bit old.
Do anyone knows if there is a possibility of GET Direct Messages via API or in some programatically way?
Right now, it doesn't look like you can. The Instagram Graph API docs don't mention direct messages at all. The old Instagram API never had this.
Take a look to the Component InstagramApiSharp, it contains this functionnality. There are some actions that you can built for the direct message with it.

Which API should I use to get Github feed?

I'm currently working on Github API. I'd like to get news feed like we can see at https://github.com . I'd like to get information same as the authenticated user can see on the top page of github.com. I'm browsing Github's api documentation here: https://developer.github.com/v3/ . But I can't tell which is the right for my purpose. Anyone give a help to detect which is the best API for me?
I finally found which API is right for me by checking response from each API.
GET /users/:username/received_events is the one that I was looking for.
https://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received

Flattr API v2 Get Subscriptions

I have some problems to read the users subscriptions.
As I can read in the api documentation, I have to send the following request:
GET https://api.flattr.com/rest/v2/user/subscriptions
After that, I receive a response, but with weired content:
[{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"thing"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"https://api.flattr.com/rest/v2/things/3951323"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"https://flattr.com/thing/3951323"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":3951323},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"http://www.gramocast.net/flattr"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":1},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":1},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"gramocast"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":""},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":[]},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"en_GB"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"software"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":1425413536},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":{"type":"user","resource":"https://api.flattr.com/rest/v2/users/gramocast","link":"https://flattr.com/profile/gramocast","id":"jy3lmA","username":"gramocast"}},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":0},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":""},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":true},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":true}]'
I have one active subscription to gramocast.
Is this a bug in the flattr api or am I doin' something wrong?
Thanks for your help.
That weird response was the result of a bug in the Flattr API.
I deployed a patch yesterday so it should work as intended now.
I'm sorry it took so long to fix it. :(
// Leif

Freebase MQLWrite Login Fail 401 Gone

I am trying to write to freebase. I read this documentation:
documentation
and tried login to both
https://api.freebase.com/api/account/login
but am getting (410) Gone error.
can someone help me please?
That API endpoint was retired some time ago. Check the current documentation for the new endpoints.

Posting on Facebook - Follow up questions

I've seen this answer on SO for "how to post on Facebook?",
my question is composed of 3 followups
How can I set the page/group on which the post will show (other than my wall?
Is there a way to post without being logged in?
Sending a private message to one of my friends - possible & how?
According to your question... if i understand you good, android application Hoot Suite will do the job...
And no you can't post to facebook if you are not logged in to any account