I have a problem with my facebook web app.
I want to invite a friend to an event. My app is configured with create_event permissions and event is with the can_invite_friend flag set to 1.
Facebook say that app doesn't have the permissions.
Can someone help me?
$resultinvite = $oFacebook->api("/".$eid . "/invited/" . $sspId, "POST", Array('access_token' => $oFacebook->getAccessToken()));
Robin
You also need access to user_events
Related
Without changing my code or configuration, now google is asking users to grant permission every time when a user is trying to authenticate to my App. Even though the user already grated access and the scope didn't change.
I don't get any errors and the login works fine is just that now the google dialog asking for permissions appears every time.
To initialise google I use gapi.auth2.init with the "https://www.googleapis.com/auth/plus.profile.emails.read" as scope.
Also to request for access I use auth2.grantOfflineAccess.
I also checked in my Google account for Apps that have access and the application is registered successfully in there.
Anyone else has seen this issue? Or does know if google changed something in the way they handle permissions?
I believe I am seeing similar behavior... that the authentication flow has begun asking the user to grant the app permissions to the scopes every time they sign in. Previously, it would only proceed from sign-in to grant permissions the first time the user signed into the app. I haven't changed the scopes requested nor the underlying code recently... but also hadn't used the app in awhile (months?)
I'm using the oAuth2 server-side authentication and grantOfflineAccess() outlined here .
Given that there are no implementation details posted, i can't tell if the fix I found will apply to your situation.
The correction I found... so that the authentication only asks the user to grant the first time they sign into the app was to explicitly specify the "prompt" attribute when calling getOfflineAccess().
var auth2 = gapi.auth2.getAuthInstance();
auth2.grantOfflineAccess({
prompt : 'select_account'
}
).then(signInCallback);
https://developers.google.com/identity/protocols/OAuth2WebServer#offline
Check Step 1 prompt parameter
Please let me know, if any Inputs on how to make a Yammer Group Admin, or add user as group admin.
Thanks.
There is an api endpoint which is not in the documentation bu being used by the Yammer App itself.
User must be in the group before, it will not add the user itself.
Make Admin:
https://www.yammer.com/api/v1/groups/{groupId}/make_admin?user_id={userId}
Revoke Admin:
https://www.yammer.com/api/v1/groups/{groupId}/revoke_admin?user_id={userId}
Hope this is still helpfull, since the posting date is really old.
Hi guys am working on an back-end system(admin) in laravel. I would like to send notifications realtime to the admin whenever a user makes some changes from thier side. for instance if a user creates a new project, i would like for the admin to be notified when the user submits the project details to the database. Please help me with a model of the same. thanks
Your question is very broad and you don't specify a clear problem. However, for real time notifications I'd suggest you to look at the following libraries: Socket IO, Ratchet and Pusher.
I am working on an app in ruby using:koala:omniauth
When I click share to wall from the application it allows me to share and
changes my permission accordingly. When I use an account that is not setup as a developer it sends 200 error "permissions not provided." but does not ask for "permissions" like it did with the account connected to facebook developer.
Is there a setting somewhere on Facebook developer that controls this?
I would like all users to be re-asked the permission and not just developers of the app.
Yes, you need to ask Facebook to review the app for special permissions..
In console.developers.google.com, I am trying to add permissions to a new user, with this email: xxxx#gmail.com, while my current console.developers.google.com is a google app account, let's call it yyyy#gapp.net
This is the error I got while granting xxxx#gmail.com admin/can edit/can read:
The non-domain account: xxxx#gmail.com can not be added to a domain project.
What should I do? Any setting I can tweak to solve this?
I am doing this because I want to transfer my app from yyyy#gapp.net to xxxx#gmail.com
It's not possible to share an app outside the domain in this way. You'll need to create a new project in the gmail.com account and switch to using it.