Discussion Forums  >  Uncategorized

Replies: 5    Views: 516

a_h3nn3ss3y
I hate code!
Profile
Posts: 3
Reg: Jul 18, 2011
location unknow...
30
07/28/11 05:55 AM (14 years ago)

Need Android 'Share on Facebook' help!

Hey guys, So I have been working none stop at developing my app for the Android Market however I can't quite get the Share on Facebook to work. I have created an app with the Facebook Developers, so I have the API Key and API Secret however I am having some issues as well as some questions. Do I need to follow the Facebook Developers tutorial on adding the Facebook SDK to my app by having it referenced or do I just use the README.txt file from Buzztouch and follow the directions from it? When I try to access 'Share on Facebook' by following the README.txt and editing the res\values\strings.xml this is what I get: {error : {type : OAuthException, message : Error validating applicaiton. }} When I reference in the Facebook SDK or replace the Facebook SDK source code with the Buzztouch com.Facebook source code it crashes. Running out of ideas... Also when I am intially creating a new Android project and I add from existing source, I have it set to Google API 1.6. Is this correct or should it be something different? I noticed in the Facebook Developers tutorial they have theirs at Android 2.2 Does this create conflicts when referencing it in or create compatibility issues? Does it even matter? If someone could please help me with a step by step on how to get this thing to work that would be great!
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
07/28/11 06:20 AM (14 years ago)
Just use the buzztouch readme file, you don't need the fb sdk. So add your key and secret to the buzztouch panel in the relevent fb screen, then add App name, key and secret to the strings.xml in eclipse. Make sure to get the fb app name exactly right, case sensitive, spaces etc. That should be it. Google API 1.6 is the default level. It should be ok for fb unless they've made very recent changes.
 
a_h3nn3ss3y
I hate code!
Profile
Posts: 3
Reg: Jul 18, 2011
location unknow...
30
like
07/28/11 06:26 AM (14 years ago)
Perfect! I will try it and let you know if it worked! Thanks for the help!
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
07/28/11 06:31 AM (14 years ago)
No problem, good luck with it.
 
fusionmtx
Android Fan
Profile
Posts: 178
Reg: Jun 15, 2011
Orlando
2,180
like
07/28/11 09:56 AM (14 years ago)
I messed up on it first and gave up, but then i went back and really read the readme file and got it to work so your not alone :)
 
steveh6883
buzztouch Evangelist
Profile
Posts: 383
Reg: May 15, 2011
Gosport, UK
3,830
like
07/29/11 04:40 PM (14 years ago)
give me a shout and I can talk you through it - it's a very quick & easy fix Skype = teld22 GTalk = [email protected] Steve
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.