Click here to Skip to main content
       

ASP.NET

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionSchedule and post comments to FaceBook wall using ASP.Net [modified]memberHu Dhaval20 Nov '12 - 21:56 
Hi
 
i want to develop application like hootsuite . com
 
Schedule the FaceBook wall using ASP.Net
 
now i am geting this error
 
my new facebook code is : AQCk3-RCylaaLxWxl9HInFJYAP0Cm-v0nXjWhwEI9cswEMXuKvibzJWYb6tlSqPlFYbpYapEiP0t1Sir6f2A76QR67LcVNXOSq-cfTEW-56HXNIJUFkvJsjnLU-Brs_x6YtAnEs3H6bBOjGwq8zCWhkMbXK8I6kag6HPqU406DzenPZx3QyYJzUjFrl9_zbJrLK7qv4CsifWrtL19oKQaIDU#_=_
 
so, my url like https://graph.facebook.com/oauth/access_token?client_id=134941433319444&client_secret=be06862cbacb4f84f5112ebcc4bc3b2c&grant_type=fb_exchange_token&fb_exchange_token=AQCk3-RCylaaLxWxl9HInFJYAP0Cm-v0nXjWhwEI9cswEMXuKvibzJWYb6tlSqPlFYbpYapEiP0t1Sir6f2A76QR67LcVNXOSq-cfTEW-56HXNIJUFkvJsjnLU-Brs_x6YtAnEs3H6bBOjGwq8zCWhkMbXK8I6kag6HPqU406DzenPZx3QyYJzUjFrl9_zbJrLK7qv4CsifWrtL19oKQaIDU#_=_

but , still i get error like
 
{
"error": {
"message": "Malformed access token AQCk3-RCylaaLxWxl9HInFJYAP0Cm-v0nXjWhwEI9cswEMXuKvibzJWYb6tlSqPlFYbpYapEiP0t1Sir6f2A76QR67LcVNXOSq-cfTEW-56HXNIJUFkvJsjnLU-Brs_x6YtAnEs3H6bBOjGwq8zCWhkMbXK8I6kag6HPqU406DzenPZx3QyYJzUjFrl9_zbJrLK7qv4CsifWrtL19oKQaIDU",
"type": "OAuthException",
"code": 190
}
}


modified 21 Nov '12 - 4:14.

AnswerRe: Schedule and post comments to FaceBook wall using ASP.NetmemberDhol Gaurav20 Nov '12 - 22:24 
Hello
 
Can you give me a "Code" & redirect url which is return while we doing facebook login
 
let me know if any query
Thanks
Gaurav Dhol

GeneralRe: Schedule and post comments to FaceBook wall using ASP.Net [modified]memberHu Dhaval20 Nov '12 - 22:32 
this is newly generated code
 
AQAEjc8fhCUXpniD47XhRQosJBc8RtvzumNsm10b_bdpG26XblRKZ76voic8G5Nqia5lGzcPJItJo-7nIKIQ6-zdW_jmMNAoHF82XthVeSiHzbuKavGJwFz8m0N9TBgU6tRvbQPILkvsYpCUiUg7mS4YcmMRhwZbD8NeeQbl9D3SPTfEsxj9NkQSmpT-yhq1DxFbcBW9N8MX8Y8tXaKJ74dv
 
 
is this code are you looking for this?
 
also old code is here
 
AQCk3-RCylaaLxWxl9HInFJYAP0Cm-v0nXjWhwEI9cswEMXuKvibzJWYb6tlSqPlFYbpYapEiP0t1Sir6f2A76QR67LcVNXOSq-cfTEW-56HXNIJUFkvJsjnLU-Brs_x6YtAnEs3H6bBOjGwq8zCWhkMbXK8I6kag6HPqU406DzenPZx3QyYJzUjFrl9_zbJrLK7qv4CsifWrtL19oKQaIDU#_=_
 
application url : [^]

modified 21 Nov '12 - 4:40.

AnswerRe: Schedule and post comments to FaceBook wall using ASP.NetmemberRichard Deeming21 Nov '12 - 2:10 
Just a guess, but you need to URL-encode your access token.
 
Your token ends with IDU#_=_, and the error message reports that it ends with IDU. This is because # is not valid in a query-string. Your URL should end with IDU%23_%3d_ instead.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web02 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid