App card showing in mobile app but not on browser


#1

i suucesfully whitlisted and get approval of twitter app card and succsfully post on twitter but the partcular app card image will not showing on browser in twitter it only shows the hastag text but at the same time if i check the paticualr posted tweet in twitter mobile native it shows both cardimage and the given hastag text… plz help


#2

As the troubleshooting topic says, we cannot help without either a URL, and/or example Tweets.


#3
                            final TwitterSession session = TwitterCore.getInstance().getSessionManager()
                                    .getActiveSession();
                            final Card card = new Card.AppCardBuilder(getActivity())
                                    .imageUri(uri)
                                    .googlePlayId("com.twitter.android")
                                    .build();
                            final Intent intent = new ComposerActivity.Builder(getActivity())
                                    .session(session)
                                    .card(card)
                                    .hashtags("#nature" )
                                    .createIntent();
                            startActivityForResult(intent, TWEETER_REQ_CODE);

Hello #andypiper ,i am using this code for sharing with twitter app card…i successfully shared the post and could be able to see my post on mobile native app with app card attached but same post when i see on desktop browser on twitter the app card is not showing only the hastags which i given above "#nature"is shown…plz see the url:- https://twitter.com/ashish4721/status/821240179059003392 but at the same time im mobile twitter app it shows both hastags and twitter app card…like i am attching screen short plz see


#4

Moved to the Twitter Kit category as this is a Fabric question.


#5

Hey @ashish4721,

You are correct that this card will only show up when browsing Twitter on an app and not in a browser.

-Mike


#6

hey @bonnell…thanks for your reply…just want to know is there any other twitter card which i can use for both browser and twitter native app… and if it is not possible to see card on both browser and application is there any other way i can share image and text with twitter and get tweet id of particular post… i also used this particular code for sharing image and text…

Intent i = new TweetComposer.Builder(getActivity())
.text(field_text_description.getText().toString())
.image(uri)
.createIntent();
startActivityForResult(i, TWEETER_REQ_CODE)

but in this case i m not getting tweet id of that particular post…any help will be really appreciated…


#7

Hey @ashish4721,

Currently only the App Card through Fabric will be displayed in apps. You could look into the regular Cards platform for your own card creation: https://dev.twitter.com/cards/overview

I am not an expert in that area though!


#8

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.