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.
Problem/Motivation
- Facebook introduced new API 2.x
- v1.0 will be deprecated on April 30, 2015
- API 2.x has some difference with permission and variables
- We need to make people understand, that the new Facebook API may break functionality.
Proposed resolution
I suggest to leave 7.x-1.x as it is, move all changes to 7.x-2.x and clean it up.
And commit all new changes to 7.x-2.x branch.
Related issues
- #2464399: Update to FB API v2.3
- #2274151: Always "real name" used, never username (API 2.0 hides usernames)
- #2448209: Update to FB API v2.x - Remove deprecated permissions
- #2448195: Update to FB API v2.0 - Friends now has a new permission
- #2454173: Update to FB API v2.x - Deauthorize function not working
- #2470193: Update to FB API v2.0 - Permission user_tagged_places replaces user_location
- #2470213: Update to FB API v2.x - public_profile permission replaces basic_info
- #2149661: Users with empty mail field.
- #2472455: Update to FB API v2.x - Notes was removed.
Comments
Comment #1
mrded CreditAttribution: mrded commentedComment #2
DarrellDuane CreditAttribution: DarrellDuane commentedThanks mrded for outlining all of this. Please create this version/branch and commit it to the project.
Comment #3
mrded CreditAttribution: mrded commentedComment #4
DarrellDuane CreditAttribution: DarrellDuane commentedI have changed the recommended releases for this project. the Recommended Dev release is now 7.x-2.x-dev,
the 7.x-1.x-dev is hidden and I can't imagine any reason to use it again.
In the coming days I or mrded will generate a production release of 7.x-2.0 and make it recommended. I would prefer to
get the items that are broken when I switched to FB Graph API 2.2 fixed before we do this, but I also know it is important to
do this before the FB Graph API 1.0 goes away on April 30th. I'd like to get these bugs fixed before April 20th, but either way
release 7.x-2.0 by April 20.
The main issue I'm waiting on resolution is https://www.drupal.org/node/2149661 before we release 7.x-2.0.
Comment #5
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commented#2448195: Update to FB API v2.0 - Friends now has a new permission was commited.
But I have found new change in v2.0 - #2470193: Update to FB API v2.0 - Permission user_tagged_places replaces user_location
Comment #6
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedComment #7
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedI have uploaded patches for my tasks.
Comment #8
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedComment #9
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedComment #10
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedAll critical issues was fixed.
First alpha was pushed - 7.x-2.0-alpha1 https://www.drupal.org/node/2472809
Comment #11
mrded CreditAttribution: mrded commentedNo one complained so far. Make it live! :)
Comment #12
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedOk. I just want to test latest Darrel changes since rc1.
Comment #13
DarrellDuane CreditAttribution: DarrellDuane commentedHI Alex, yes please make sure the pop up works for you when you're first connecting via Facebook.
Comment #14
ighazali CreditAttribution: ighazali commentedhi guys, get this message:
and in the log
Comment #15
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedHi, @ighazali.
Can you please create separate issue for this bug ? I will be able to check and fix it then.
Thanks.
Comment #16
Chris CharltonI think this ticket can be cleaned up. :)
Comment #17
Chris CharltonBump.
Comment #18
Chris CharltonThis ticket seems old since it talks about 7.x-1.x branch of FBOAuth. Besides, all child tickets outlined above seem all fixed/closed.
Is there anything else holding this ticket from being closed?
Comment #19
DarrellDuane CreditAttribution: DarrellDuane commented