-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i have a problem with mysql query, and can't get it done in any way. I already checked the other topics, but can't get any of the solutions to work in my case.
I have 2 tables, one is users
id, name, email....
and second for friends is named friends :)
user1_id, user2_id
now i need to get from the…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I'm a bit confused if saving the information to session code below, belongs in the controller action as shown below or should it be part of my Model?
I would add that I have other controller methods that will read this session value later.
public ActionResult AddFriend(FriendsContext viewModel)
…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I'm just curious for everyone who is developing social sites out there. When you build a method for connecting users, do you prefer to use a following-style system (follow me, you can see all of my information and I can just choose to follow you back), or instead do you choose to have a friends-style…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Im used to working with twitter, where friend/follower totals are available in a simple xml request.
My goal is a simple "enter your username/user id, and display your friends count".
Is there something like this for facebook? From what i gather, ill have to make an application, and have anyone…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey
Sorry the title is not very clear. This is a follow up to my earlier question where one of the members helped me with a query.
I have a following friends Table
Friend
friend_id - primary key
user_id
user_id_friend
status
The way the table is populated is - when I send a friend request to John…
>>> More