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

can't resolve drawable symbol
Recyclerview IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder
Date function issue in android
Android- Difference between the Accuracy and Distance value in Beacon App?
Google Maps get visible area radius for zoom level
wpa_cli fails to connect/add the ssid for my Android device
How to set profile name in navigationView on android
RecyclerView-: No adapter attached; skipping layout
Keyboard invisible on Samsung Tab 3
Error trying to us OKBuck
How to show whatsapp like popup notification when app is in background
application installation failed error at runtime
Using BlueStacks with Appcelerator Studio
How to retrieve data from database by id using android
Activity onStop() ==> Unable to stop activity {xxx}: java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
Change contrast in camera preview

Categories

HOME
google-app-engine
fabricjs
oracle12c
paraview
prism
deep-learning
awk
c++11
string
jmx
serialization
opendj
scripting
zip
odoo-8
elasticsearch-5
computer-science
bing-maps
qpython
jxl
intercom
symmetricds
mathprog
dimensional-modeling
html5-appcache
symfony-console
symbols
parcelable
visual-studio-extensions
highstock
comparator
google-cloud-print
maze
licensing
ms-access-web-app
has-and-belongs-to-many
angular-translate
winpe
google-cast
instantiation
magento-1.9.2.4
xdocreport
sim-card
movilizer
tcc
android-exoplayer
drupal-theming
opencmis
mesosphere
proget
openrasta
spring-integration-sftp
reportservice2010
lightning
opengl-4
check-mk
juice-ui
chromium-os
ziparchive
segment-io
burrows-wheeler-transform
xdoclet
tracker-enabled-dbcontext
boost-serialization
phpwebsocket
lz77
rasterize
concurrentmodification
xenomai
wiredep
binomial-theorem
evolus-pencil
haskell-warp
rdflib
openbabel
ejb-2.x
dbaccess
browserify-shim
rickshaw
linkedin-jsapi
strawberry-perl
template-deduction
verold
jjaql
buffering
conditionaltagsupport
windows-embedded-standard
light
nebula
android-icons
apache-abdera
device-width
curb
pstack
boost-signals
jquery-address
relative
pinch
saxparseexception
fsevents
django-paypal
appledoc
socketserver

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