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 7402309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:42:46+00:00 2026-05-29T04:42:46+00:00

I am developing a multi protocol client (currently Twitter, Facebook and Google Reader) for

  • 0

I am developing a multi protocol client (currently Twitter, Facebook and Google Reader) for Windows using C# and wanted to extend its functions to send links to Facebook (currently I “only” have text status messages, comments and likes).

So I wrote this quite small method here:

public void PostLink(string text, string url)
    {
        if (string.IsNullOrEmpty(url))
        {
            PostTextStatus(text);
            return;
        }

        dynamic parameters = new ExpandoObject();
        parameters.message = text;
        parameters.link = System.Web.HttpUtility.UrlEncode(url);

        dynamic result = facebookClient.Post("me/links", parameters);
        UpdateNewsFeed();
    }

But I get the following error message back from Facebook: “(OAuthException) (#1500) The url you supplied is invalid”

But at least as I read the API docs this should be the right url and I tried it also with my user ID instead of “me” and without the UrlEncode – no luck so far.

Any help appreciated 🙂

(Using latest stable version für Facebook C# SDK)

The used client is initiated by

 facebookClient = new FacebookClient(AccessToken);

            dynamic result = (IDictionary<string, object>)facebookClient.Get("me");

            if (result != null)
            {
                LoginSuccessfull = true;
            }
  }

and the AccesToken and its permissions were retrieved using

  IDictionary<string, object> loginParameters = new Dictionary<string, object>
                                                          {
                                                              { "response_type", "token" },
                                                              { "appId", appId},
                                                              { "secret", appSecret }

                                                          };

        Uri redirectUri = new Uri("http://www.li-ghun.de/Nymphicus/");
        loginUri = FacebookOAuthClient.GetLoginUrl(appId, null, _extendedPermissions, loginParameters);

with I think quite more than enough permissons:

 private string[] _extendedPermissions = new[] { 
         "user_activities",
         "user_birthday",
         "user_checkins",
         "user_education_history",
         "user_events",
         "user_games_activity",      
         "user_groups",
         "user_hometown",
         "user_interests",
         "user_likes",
         "user_location",
         "user_notes",
         "user_online_presence",
         "user_photo_video_tags",
         "user_photos",
         "user_questions",
         "user_relationship_details",
         "user_relationships",
         "user_religion_politics",
         "user_status",
         "user_subscriptions",
         "user_videos",
         "user_website",
         "user_work_history",


         "friends_about_me",
         "friends_activities",
         "friends_birthday",
         "friends_checkins",
         "friends_education_history",
         "friends_events",
         "friends_games_activity",
         "friends_groups",
         "friends_hometown",
         "friends_interests",
         "friends_likes",
         "friends_location",
         "friends_notes",
         "friends_online_presence",
         "friends_photo_video_tags",
         "friends_photos",
         "friends_questions",
         "friends_relationship_details",
         "friends_relationships",
         "friends_religion_politics",
         "friends_status",
         "friends_subscriptions",
         "friends_videos",
         "friends_website",
         "friends_work_history",

        "create_event",
        "create_note",
        "email",
        "export_stream",
        "manage_friendlists",
        "manage_notifications",
        "manage_pages",
        "offline_access",
        "photo_upload",
        "publish_actions",
        "publish_checkins",
        "publish_stream",
        "read_friendlists",
        "read_insights",
        "read_mailbox",
        "read_requests",
        "read_stream",
        "rsvp_event",
        "share_item",
        "status_update",
        "video_upload",
    };
  • 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-05-29T04:42:51+00:00Added an answer on May 29, 2026 at 4:42 am

    Problem has been all the time at myself being stupid – I accidently exchanged the parameters when calling my method so the text of the entry was in the link property and vica versa.

    Stupid me 🙁

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

Sidebar

Related Questions

I am currently developing a multi-language site using Zend Framework. The system will pick
I'm currently developing a multi-tiered application, using MVC3 and Spring.NET all of which is
I am developing a multi-threading application, which is deadlocking. I am using Visual C++
I'm in the process of developing a multi-tiered financial processing application in Java using
I'm currently thinking of developing chess code with multi-player facility connected and played via
I currently developing a multi-language interface for a Django project. But when I started
I'm developing a long-running multi-threaded Python application for Windows, and I want the process
Currently I'm developing a multi-thread application. I use a TreeView to display the states
I'm developing a multi-user application which uses a (postgresql-)database to store its data. I
I'm developing a multi-document application. Currently it uses MDI which is quite convenient for

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.