I do it like this:
koala = Koala::Facebook::API.new( page_token ) tabs = koala.get_connections("me", "tabs") koala.put_connections("me","tabs", {app_id: new_app_id }, {api_version: "v2.3"}) tabs = koala.get_connections("me", "tabs")
check the tabs and search for the newly added tab.
If you want to remove the tab:
koala.delete_connections("me","tabs", {app_id: id_to_be_deleted }, {api_version: "v2.3"})
source share