Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#9 | crude-fix_-_remove-publish-stream.patch | 1.21 KB | gbrands |
fb-error.png | 24.54 KB | gbrands |
Comments
Comment #1
e0ipsoIs it not working? That message suggests that it is working.
Comment #2
mmauroy CreditAttribution: mmauroy commentedSame here ! I got this working few days ago.
I just install it on another platform this morning (with the latest version) and ran into this error.
Comment #3
stavthan CreditAttribution: stavthan commentedSame here, it was working when i installed this module (for a couple of days) but now this!
any solution?
Thanks a lot
Thanassis
Comment #4
person101x CreditAttribution: person101x commentedConfirmed error as well. This would likely have to do with Facebook's recent forced upgrade to the 2.0 SDK.
Comment #5
person101x CreditAttribution: person101x commentedThis is likely the problem: http://stackoverflow.com/questions/30074899/error-invalid-scopes-offline...
Comment #6
ighazali CreditAttribution: ighazali commentedSo this module is unusable because of the update
Comment #7
stavthan CreditAttribution: stavthan commentedsame problem here .
it seems that publish_stream is deprecated and can not be used anymore!
any ideas how to stop asking for publish_stream permissions?
Comment #8
e0ipso@ighazali patches are welcome.
Comment #9
gbrands CreditAttribution: gbrands commentedThis is a very crude fix, but it got me up and running again. It simply removes 'publish_stream' from the permissions array that is returned.
I tried to remove the permission by editing the permissions for all roles with v2.0 api selected, and the 'publish_stream' continued to be returned. This was just a quick way to be up and running again. If no one else posts an update over the weekend, I might have time to work out a "real" patch.
Comment #10
gbrands CreditAttribution: gbrands as a volunteer commentedComment #11
pingevt CreditAttribution: pingevt commentedI can confirm that it is the 'publish_stream' permission. I have yet to publish anything yet... but I was able to sign in. (Will work on a patch soon)
Quick fix so far:
1. under the permissions per role for version 2.0, just save the form for all roles. This will remove, the default publish_stream for all roles.
2. fb_autopost.admin.inc, line 89: remove 'publish_stream' from the array.
I'll edit this as I move forward, but wanted to post this to get others going as well.
@gbrands, that will also get it going. When calls are made to fb_permissions_get_facebook_permissions() most are adding in 'publish_stream'. This is why simply saving them doesn't fix it. I think an actual patch will have to update all those calls. Quick search, it only looks like there are 2 calls, and the one i mentioned above is the only one with 'publish_stream' as a default.
Comment #12
stavthan CreditAttribution: stavthan as a volunteer commentedyes !!! it works, thanks man!
Comment #13
marcoka CreditAttribution: marcoka commentedComment #15
e0ipsoThis is now fixed in the new release.
Thanks for contributing.
Comment #16
marcoka CreditAttribution: marcoka commentedthank you e0ipso
Comment #17
e0ipso