new app-id - OAuthException (#200) on post comment - facebook

Since I created a new (Facebook) App last week, I get an OAuthException whenever I want to comment on a post.
"(OAuthException) (#200) You do not have sufficient to permissions to perform this action".
With the old App, my application works fine.
Now I found out that Facebook has changed the login policy recently. I also found the following remark on https://developers.facebook.com/docs/facebook-login/permissions/v2.0:
"If your app asks for more than than public_profile, email and user_friends it will require review by Facebook before your app can be used by people other than the app's developers".
So if I post with the same account with which I created the App, it should work, right? Only it doesn't...
Remark: if I use the new App with another Facebook-account, I have even less permissions (e.g. cannot access the account's pages). So I have more permissions if I use the same account, but still I cannot post!
I use Graph API via .NET Facebook-Client; my App is a native app (desktop app).
Could someone please tell me how to post with a new App? This is the main use-case of our application! Thank you very much!
Here is a screenshot of what I see instead of the login-screen when I use extended permission "publish_action" instead of "publish_stream"

You must be able to post with your own account since you are the admin of the application. - since only the admins/developers/testers will be able to test the app with the publishing functionality before it gets approved by facebook.
If you still are not able to, you must have not granted the permissions to the app. Things to check-
You are using publish_actions and not publish_stream
Check in your application settings whether or not you can see the publishing permission is granted for that app.
If not granted, go through the login process again and grant the publishing permission (may be by removing the app from settings and then authorizing again OR logout the app and then login again with publish_actions)

Problem solved - it was a stupid typo: I wrote publish_action instead of publish_actions (should be plural)! Thanks again to CBroe who pointed it out in this thread!

Related

Facebook Graph API 2.0 Permissions Request Denied

I'm working on a notification web-app that has a Post-to-Facebook feature. Until the (Graph) API v2.0, it worked great. A user would authenticate with their Facebook account, put their token into our app, and we'd use that to make posts to their wall/page for them when a new notification was sent.
We have applied for the permissions we need to use on Facebook's new API (publish_pages, publish_actions, manage_pages). We received a notice that our application was rejected, so we re-worded the same application for permissions to try to clarify what we use the permissions for, resubmitted it, but have been rejected again.
An app that does almost exactly the same thing we hope to do was granted these permissions (we know, because we both work with- and compete with- that app). Until we found out that that app can still publish posts to Facebook, we believed that all requests to repost/automatically post on users' behalfs were being denied because of a Facebook policy change.
We can't figure out who to contact or where to appeal the denial of these permissions. This probably isn't the right forum (since this isn't specifically a technical question about the API), but I can't see where to take this issue next.
Did you have a look at the Login Review FAQs:
https://developers.facebook.com/docs/facebook-login/review/faqs
or otherwise refer to
https://www.facebook.com/groups/fbdevelopers

submitting facebook app for permission of publish_actions

For using score api as it is mentioned it is require to take publish_actions permission as mentioned here https://developers.facebook.com/docs/games/scores/
when I tried to add permission to my app it is giving error It looks like you haven't made any API requests to access content with the publish_actions permission in the last 30 days.
I am making call
FB.API("/me/scores", Facebook.HttpMethod.POST, PostCallBack, scoreData); in game (which is not working)
note that I am doing re-submission. any solution how can I submit facebook app for review for permission of publish_actions
Check List for you.
Your Facebook Sdk integrate properly end?. Document
Available to the general public. Facebook dev page -> apps -> status&review -> switch your app status
If your used to Facebook SDK for Unity , open InteractiveConsole scene checks work It.
Good luck :D
We had the same issue and is fixed now. THe one and only thing you have to do is to login to facebook (inside your application, once the login action is called) with your admin username and password (not with your personal username) atleast once.
If both are the same then i dont think this issue will arise.
Let me know if this worked. THanks

Facebook app: How to test unapproved features

Hi I try to make the "publish_actions" feature of my web app approved but I cannot get it approved cause facebook approval system keeps asking me to include screenshot of working features.
However, I cannot provide such screenshot because the "publish_actions" feature is not approved yet.
How is it called? A catch 22 or an Chicken-Egg-dilema? Anyways...
Where should I start?
(I already tried with a test user and a developper account, both in live or developper mode)
Thanks to anyone that can help
You can create test users, or add users as "Testers" or above in your App's "Roles" tab in the developer area of Facebook.
If your app is interacting with a test user or any user with an assigned role in your app, it may request permissions that have not been granted yet by Facebook for public use. There's no trick or workaround; just simply request the permissions like you normally would for any other user.

Facebook App Alerts: Permissions - read and write for apps without FB login

Facebook sent an attention alert about the permission the App is requesting:
Permissions
Your app asks for read and write permissions at the same time. You should only ask for write permissions when a user tries to share something to Facebook. Please update your app accordingly. Read our best practices for more details.
In fact during authentication App is requesting those permissions:
read_friendlists, publish_stream, offline_access, email
But App is not using FB login so according to second point of this section "Publishing permissions", we can ask for both read and write permission:
https://developers.facebook.com/docs/facebook-login/permissions/#publishing
In this situation, can the Alert be ignored?
The "problem" with your request is the read_friendlists permission, the guidelines in case of non-facebook login says:
In this case, make sure that the only read permissions you request are
public profile and friend list.
Also the offline_access han been deprecated and not useful anymore
So you should ask for read_friendlists in a separate request, the alert does not affect the functionality of the app but maybe it will affects other things like quota or apps store.
Hope this helps

publish_actions authentication permission issue

The problem with my application is when I test the application as a developer, it ask asks for publish actions permission as it should but when other users go to my application it doesn't ask for publish_actions permission from them.
I added the publish_actions permission in application setting, but it's not working. I also tried to include the publish_actions permission in the configuration file, but it didn't work either.
While Facebook is never 100% clear about how their API works, and this can be a major source of frustration, I would guess that the issue is that the app will need to be approved before anyone but the developer can accept the publish_actions permission for it.
This page on the Facebook dev site might help: http://developers.facebook.com/docs/beta/opengraph/opengraph-approval/