I want users in an app that I am thinking of creating to have a default image upon signing up/logging in, so integrating Facebook Login makes sense. But, I also want to have a way to relate users and have them be "friends" on my app.
How would I implement such a functionality with Parse.com as my backend? The only way I can currently think about implementing friends using parse is by the username. But, if my users log in with Facebook, they will not have a username for my app.
Thanks in advance.
Related
Notifications within laravel website
I'am beginner of laravel framework. So there is no one experienced laravel developers in my town. There are nobody with whom I could discuss or speak about my laravel project. It's my first laravel project. The problem is I don't know, is everything in right way what I am doing? For example, thare are 2 types of users. 1 administrator, others are ordinary users. I would like to make notifications between administrator and ordinary users within website. If administrator sends message or something, it should send to chosen user.
Now I am writing notification database. And I have notification table, there are message, user_id(to whom I send this notification) in column name data. My questions
Is it right way of making notifications within website between administrator and ordinary users? I have just show this notification by selecting user_id from column name data and show this notification in User's profile(to whom sent by administator)?
Is it possible to send notifications with question like "Are you ready? Yes No" with clickable buttons Yes No. As I understand I have to create new table with columns message, user_id, status "Yes" or "No", so when user click yes button it will change the status of this message. Is it right way what I have wrote? Can you write me your ideas or logic of realizing this things. I will be grateful to You.
I'm working on a Flask project and would like users to be able to connect one or more Steam accounts to their profile on the website. The user is not logging into my website with their Steam account, they are just registering a Steam account to a pre-existing profile on my site, so I'm not sure if I should be using OpenID or not.
I would like for there to be some way for the user to enter their Steam username, be shown a corresponding account, and register the account to their profile. Or alternatively, there is a button that takes the user to a Steam Login page, which redirects back to my website after logging in and passing back the needed data. I'm not picky how, I just need to somehow get the ID associated with a Steam account.
Everything I've found so far has been for logging into a website using a Steam account. I assume the process would be similar, and maybe easier, to just get back an ID based on user input, but so far I've had no luck.
Thanks for your help
I am looking to integrate Facebook into my website. The website is basically an online meeting and the user has to know the host's username to log in. I was wondering if there is a way withing the Facebook API to invite specific users and link them to this meeting object, I was thinking by pulling the invited users User ID and inputting it into a database, so that when the guest goes to the party they just have to log into Facebook and it will bring them to the correct party (by MySQL search matching their user ID with a meeting). I hope I explained this correctly, but is there a way to do this with the API, or even a better way to complete this?
I have created a page with a facebook login option for users with facebook account on my website.
When they login I store their basic information like thier id, name, and email.
Now I want to send messages/ post on their wall using the IDs I have stored of the facebook users in the database.
Is their any FB tool available or how can I do this using FB javascript to acheive the same?
You can use Post from the GraphAPI to post to their timeline https://developers.facebook.com/docs/reference/api/post/
For obvious reasons of not turning Facebook into a source of spam, you cannot programatically send messages to users.
I am creating an iOS App which the user will be able to login to via his account with our website (internal), or via Facebook or Twitter.
What I would like to know is how should I manage the database in order to verify his Facebook / Twitter account with his internal account on my website?
I.e When the user logs in via his internal account, I just run a simple authentication check to see if his username and password are valid. However with Facebook and Twitter, I obviously can't do this as I don't have access to the user's password.
Thanks in advanced.
my suggestion is that you would create a new table for each of the login types and connect it to your users/members table.
for example - for facebook login you would have a facebook_users table to hold the user's data (such as name, pic and most important - fbid)
than add a column named facebook_user_id to your existing members table.
in order to get the logged user from facebook you don't need to access his password... you should use the Facebook JS SDK and specifically the FB.getLoginStatus and FB.login function...
offcourse my suggestion is only one of many applicable ways to accomplish the task
Save fbid instead of fb-login user_name (you can keep both) of the user in your internal login table - A unique mapping exists (I'm sure something similar exists for twitter as well). Why do you need fb password for it?
Moreover, you run the check on internal table to authenticate user account, but when using login from fb or twitter, isn't the user already authenticated?