android


fbShare in android


Can anybody suggest a good method for creating a facebook share implementation for my application.
I have created the test account and API key for the facebook developer site...
I need to implement in such a way that,when the fbshare button is clicked,a particular content(dynamic content) should be posted as a status link in the corresponding linked facebook account...
Apart from the fb developers,i need some other way of implementing it...
Suggestions expected...(possibly better results expected)
Try this one
https://developers.facebook.com/docs/mobile/android/hackbook/
it may helps you.
Hi use this method in your code in facebook handler class
public void postToFBWall(final String message, final String image){
Thread thread = new Thread(){
public void run(){
try{
String descripton = "This is the plain text copy next to the image. All work and no play makes Jack a dull boy.";
Bundle parameters = new Bundle();
parameters.putString("message", message);// message to be posted on facebook wall
parameters.putString("link", image);//link of image to be posted on facebook wall
parameters.putString("name", "My wish");// name of link
parameters.putString("description", descripton);// description of you post
String response1 = facebook.request("me/feed", parameters, "POST");
Log.v("facebook response", response1);
}catch (Exception e) {
}
}
};thread.start();
}

Related Links

Android: Stay in state of older animation when start a new animation
Error:Execution failed for task ':app:compileDebugJavaWithJavac'. When try to compile with Realm library 2.1.1
Android Direct Boot issue while switching from credential to device storage
Copious Android log output from Looper/Handler
Lock screen image view
Android Realm Update Asynchronously Using RxJava
how to avoid the null value for bitmap images
Android taking picture : Force close in Asus device
Is it bad practice to getLastKnownLocation any time someone moves a pin on the map?
Facebook Graph API getCover not working anymore
Cleaning up database in instrumented tests
How to show Interstitial ad on a webview app?
How to scroll many ListViews inside a LinearLayout? [duplicate]
How to FIX Apache Cordova vulnerabilities in my mobile app
Android: Application multiple instances
Cordova Plugin StatusBar not working in android

Categories

HOME
time-complexity
nunit
jax-rs
pda
3d
yahoo-finance
obfuscation
entity-framework-core
nsbundle
cq5
ado.net
settings
odoo-8
title
flume
modal-dialog
g++
google-schemas
little-proxy
enthought
libc
frequency-distribution
shared-libraries
3nf
qsqlquery
heat
do-while
altera
http-post
event-sourcing
google-container-registry
apache2.4
drive
googlebot
cgbitmapcontext
event-store
short-url
pic32
jasmine-node
inversion-of-control
constexpr
scatter3d
deltaspike
memory-address
catch-unit-test
gojs
biztalk-rule-engine
activexobject
html-encode
raft
openerp-7
recurrent-neural-network
verifiable-c
movilizer
http-request
clang++
memory-mapping
jquery-ui-draggable
reportservice2010
geotiff
amq
context-switch
pdf-conversion
payload
vcloud-director-rest-api
spring-cloud-feign
burrows-wheeler-transform
watch-os-2
ng-grid
vorpal.js
pre-build-event
clipboard.js
fink
nio2
toast
libvlc
state-restoration
vhosts
microsoft-reporting
ess
poppler
rpart
finalbuilder
typemock
rrule
phpldapadmin
beatsmusic
ghcjs
rmysql
spring-remoting
paste
vsx
fpdi
high-resolution
embedded-fonts
cocoalibspotify-2.0
kogrid
idn
extreme-programming
jquery-blockui
qtconcurrent
stress
ikimagebrowserview
expression-blend-4
google-ajax-api
ruby-1.8
load-time
sifr
cfwindow
strtod
lobo-cobra
wordprocessingml
escrow
httpcookie
wcf-proxy
netbeans6.1

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App