kyledjoseph / shopgab

GitHub repository for ItemNation
http://166.78.49.117/
0 stars 0 forks source link

Fix Facebook problems #355

Closed christianbundy closed 5 years ago

christianbundy commented 10 years ago
christianbundy commented 10 years ago

When user will sign up , now it is redirected to his quest page , so u want to redirect to the landing page? I found that only facebook login exist on our system , is there any other login system here ?

When users sign up, they're currently being redirected to the landing page without being logged in, when they should be redirected to the dashboard (logged in).

We will get lots of data from facebook , e.g for logged in users we will get user full profile information (e.g education , work , basic profile, interest ) . So will we need to save all of them ? Also , will we have to save logged in users friend list ?

Yep, we should be saving everything that we have access to with the current permissions. The user's friends list should be saved, so long as we can do it in the background without affecting user experience with long load times.

Delay of authorization: Didn't understand this issue properly

We can ignore this one, I'll remove it from the list – it's solved by replacing the facebook post/message with the facebook share, like this.

cc: @mohsinkabir – you can comment on these issues if you have questions, problems, or anything else :thumbsup:

kyledjoseph commented 10 years ago

@mohsinkabir please start with this issue:

Current

Currently when in a Quest if a user messages a friend on Facebook by clicking:

screen shot 2013-11-25 at 10 44 14 am

It currently adds the following information:

screen shot 2013-11-25 at 10 47 39 am

And in Facebook it appears like:

screen shot 2013-11-25 at 10 45 51 am

Desired:

Message Friends fields (controllable):

screen shot 2013-11-25 at 10 55 44 am

Post on Facebook:

screen shot 2013-11-25 at 11 01 02 am

mohsinkabir commented 10 years ago

Hello Kyle,

Here there is a issue to save all facebook information on db . You told to save all information e.g logged in user full profile information , user friend list etc . But those information are updated by facebook user in time. So , we have to run script for that using cronjob . And also , facebook graph api doesn't provide all the friend's list at once , there is page and limit for it.

And if we want to save fb infromation on db using cron job , we have to save fb access token on db when user logged on shopgab . So , will i continue on the cronjob . Will that cronjob run once a week or twice or daily ?

thanks

mohsinkabir commented 10 years ago

Hello Kyle,

Facebook Messaging Issue: We will have to change the message content and image posted to facebook . But there may be more than one products on a quest . So , when user click on "Send Message" , which product image and description will be posted ? We have to add that image and description on the page meta tag as follows :

meta property="og:url" content="quest_url" meta property="og:title" content="title_of_the_post"
meta property="og:image" content="image_url"

Thanks