1
Answer

How to fetch data from database for a particular FB account?

Tom Wilson

Tom Wilson

7y
148
1
I am using C# MVC Web Application & MongoDB 3.2
I have to do Facebook integration with the C# MVC Web Application. When user logs into Facebook & navigates to custom page, automatically data should be fetched from MongoDB database for that particular Facebook account & shown in the Facebook page in an iFrame.
Please suggest solution for above task.
Thanks in advance.
Answers (1)
0
Midhun T P
NA 19.7k 281.2k 8y
Hi,
I don't think it is possible to achieve what you are looking with a single select query.
You won't get distinct from every columns while selecting multiple columns. Because distinct keyword considers whether a single row is distinct or not. Not a column. Please have a look at below link -
http://dba.stackexchange.com/questions/102677/select-distinct-on-multiple-columns
0
Abhishek Chadha
NA 454 26.3k 8y
your logic is true
could you post the screenshots of the table with data