Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8171705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:32:31+00:00 2026-06-06T21:32:31+00:00

I am trying to figure out how to format a multiquery query string in

  • 0

I am trying to figure out how to format a multiquery query string in C# but I can’t use C# SDK. So far this is what I have tried.

string url = "https://graph.facebook.com/method/fql?q={'q1':'SELECT uid, page_id FROM page_fan WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) AND page_id IN (SELECT page_id FROM page WHERE 'MyPage' in name)','q2':'select page_id, name, page_url, pic_small, pic_big from page where page_id in (SELECT page_id FROM #q1)','q3':'SELECT uid, name, pic_small FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me() AND (uid2 IN (SELECT uid FROM #q1)))'}&access_token=myaccesstoken&format=json"

and

string url = "https://graph.facebook.com/method/fql.multiquery?queries={'q1':'SELECT uid, page_id FROM page_fan WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) AND page_id IN (SELECT page_id FROM page WHERE 'MyPage' in name)','q2':'select page_id, name, page_url, pic_small, pic_big from page where page_id in (SELECT page_id FROM #q1)','q3':'SELECT uid, name, pic_small FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me() AND (uid2 IN (SELECT uid FROM #q1)))'}&access_token=myaccesstoken&format=json"

Neither of them is working. Can someone please help?

WebClient clientUser = new WebClient();
string JsonResult = clientUser.DownloadString(url);
JObject jsonUserInfo = null;
if (!String.IsNullOrEmpty(JsonResult)) jsonUserInfo = JObject.Parse(JsonResult);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T21:32:33+00:00Added an answer on June 6, 2026 at 9:32 pm

    You need to escape your single quotes eg wrapping the MyPage string literal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to figure out the most efficient way to format this query.
I'm trying to figure out a way to format a date string that sits
I am trying to figure out the style string for the Format(Expression as Object,
Trying to figure out how I can do this properly. The print_r looks like
trying to figure out why this is happening - I have an input text
I'm trying to figure out storage requirements for different storage engines. I have this
I'm trying to figure out why String.format() is behaving the way it does. Context:
I am trying to figure out how I can keep the XML format intact.
I'm trying to figure out the name behind this design pattern. Basically, you have
I'm trying to figure out how could I parse this string using sstream and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.