• Welcome to PHPVIBE Forums. Please log in.
avatar_Marius P.

[ Video Sharing CMS v4 ] Fix the Facebook login after the fb upgrade

Started by Marius P.,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Marius P.Topic starter

Hi guys, the fb upgrade did some trouble.




Here is the fix:


vibe_setts.php


lines ~ 15-16


//Facebook callback fields(default values, it can be empty)
$conf_facebook['fields'] = 'id,name,first_name,last_name,email';



callback.php


lines ~ 44-45


// Proceed knowing you have a logged in user who's authenticated.
    $user_profile = $facebook->api('/me?fields=id,name,email,last_name,first_name,bio,location');



line ~ 61



                 
      "username"=>nice_tag($user_profile["name"]),



Make sure your app is live under status and accepts all clients.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

awsjulio

  •  

chiparte

ok i modify a few days ago o try some test

in line 17-18
//Facebook permissions(default values)
$conf_facebook['permissions'] = 'email';


now it the fix what is the right code?
  •  

yafe3

please where i can find the callback link and how it looks
always having this problem couldn't fix it

Error. Please go back
  •  

chiparte

Quote from: yafe3 on
please where i can find the callback link and how it looks
always having this problem couldn't fix it

Error. Please go back

ex: /public_html/callback.php
  •  

yafe3

sorry i mean the URIs
that facebook app ask for it
[/size]Valid OAuth redirect URIs
  •  

chiparte

Quote from: yafe3 on
sorry i mean the URIs
that facebook app ask for it
[/size]Valid OAuth redirect URIs

You need to create a app > https://developers.facebook.com/apps/ and on this configuration i need to put your "url" your domain
  •  



Marius P.Topic starter

Did you guys made all the changes? There are 3 changes to do. If you only edit vibe_setts.php it won't work.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

chiparte

make change on vibe_setts and callback

try to login and give me a Blank page
  •  

Marius P.Topic starter

Did it work before? I'll patch the files on the pack and you can just overwrite, just for now don't know the access there (since Alex quit unexpectedly).
But if that doesn't fix it, you need to get back to the Fb app on Fb.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

chiparte

  •  


 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 32336

v5 Patches / < Edge > minor upgrade

Started by Marius P.


Replies: 17
Views: 4598

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 59437

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 42231

when slecting to unpublish music mp3 - next page says unpublished video ?

Started by spirog


Replies: 2
Views: 1454

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 16601

Video that I've uploaded needs to have that value in admin to upload

Started by spirog


Replies: 4
Views: 1304